buildPython*: enable strictDeps

This commit is contained in:
Frederik Rietdijk
2019-01-05 10:26:57 +01:00
parent 72a680e122
commit b4acd97729
3 changed files with 28 additions and 2 deletions

View File

@@ -87,6 +87,9 @@ 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;
# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;
doInstallCheck = doCheck;