Skip to content

Commit

Permalink
buildPython*: allow overriding strictDeps
Browse files Browse the repository at this point in the history
(cherry picked from commit 83914f2)
  • Loading branch information
jtojnar committed Apr 24, 2019
1 parent aff2ba0 commit cf3e277
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/interpreters/python/mk-python-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
# DEPRECATED: use propagatedBuildInputs
, pythonPath ? []

# Enabled to detect some (native)BuildInputs mistakes
, strictDeps ? true

# used to disable derivation, useful for specific python versions
, disabled ? false

Expand Down Expand Up @@ -87,8 +90,7 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Propagate python and setuptools. We should stop propagating setuptools.
propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];

# Enabled to detect some (native)BuildInputs mistakes
strictDeps = true;
inherit strictDeps;

LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";

Expand Down

0 comments on commit cf3e277

Please sign in to comment.