python3Packages.gevent: move env vars into env for structuredAttrs (#492264)
This commit is contained in:
@@ -51,7 +51,10 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ lib.optionals (!isPyPy) [ greenlet ];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||
env = {
|
||||
GEVENTSETUP_EMBED = "0";
|
||||
}
|
||||
// lib.optionalAttrs stdenv.cc.isGNU {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
};
|
||||
|
||||
@@ -72,8 +75,6 @@ buildPythonPackage rec {
|
||||
}
|
||||
// lib.filterAttrs (k: v: lib.hasInfix "gevent" k) python.pkgs;
|
||||
|
||||
GEVENTSETUP_EMBED = "0";
|
||||
|
||||
meta = {
|
||||
description = "Coroutine-based networking library";
|
||||
homepage = "http://www.gevent.org/";
|
||||
|
||||
Reference in New Issue
Block a user