pythonPackages: move python 2 only expressions to python2-packages.nix
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
, pytest-flake8
|
||||
, glibcLocales
|
||||
, packaging
|
||||
, isPy27
|
||||
, isPy38
|
||||
, backports_os
|
||||
, importlib-metadata
|
||||
, fetchpatch
|
||||
}:
|
||||
@@ -26,8 +24,7 @@ buildPythonPackage rec {
|
||||
buildInputs = [ setuptools_scm ];
|
||||
propagatedBuildInputs = [
|
||||
importlib-metadata
|
||||
] ++ lib.optional isPy27 backports_os
|
||||
;
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user