buildPython*: allow overriding strictDeps

This commit is contained in:
Jan Tojnar 2019-04-24 21:10:25 +02:00
parent b8243d104f
commit 83914f2c56
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -33,6 +33,9 @@
# DEPRECATED: use propagatedBuildInputs # DEPRECATED: use propagatedBuildInputs
, pythonPath ? [] , pythonPath ? []
# Enabled to detect some (native)BuildInputs mistakes
, strictDeps ? true
# used to disable derivation, useful for specific python versions # used to disable derivation, useful for specific python versions
, disabled ? false , disabled ? false
@ -87,8 +90,7 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Propagate python and setuptools. We should stop propagating setuptools. # Propagate python and setuptools. We should stop propagating setuptools.
propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ]; propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];
# Enabled to detect some (native)BuildInputs mistakes inherit strictDeps;
strictDeps = true;
LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8"; LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";