diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pyregion/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pyregion/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pyregion/default.nix b/nixpkgs/pkgs/development/python-modules/pyregion/default.nix index 6f1affd9063e..4d875032ef94 100644 --- a/nixpkgs/pkgs/development/python-modules/pyregion/default.nix +++ b/nixpkgs/pkgs/development/python-modules/pyregion/default.nix @@ -32,9 +32,7 @@ buildPythonPackage rec { hash = "sha256-r2STKnZwNvonXATrQ5q9NVD9QftlWI1RWl4F+GZSxVg="; }; - env = { - SETUPTOOLS_SCM_PRETEND_VERSION = version; - } // lib.optionalAttrs stdenv.cc.isClang { + env = lib.optionalAttrs stdenv.cc.isClang { # Try to remove on next update. generated code returns a NULL in a # function where an int is expected. NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion"; |