buildPythonPackage: rename nix_run_setup.py to nix_run_setup

If the extension is .py it tends to be picked up by tools, breaking for
example tests.
This commit is contained in:
Frederik Rietdijk
2018-01-20 13:31:14 +01:00
parent b4d9aaabda
commit 1623c8371c
11 changed files with 10 additions and 46 deletions

View File

@@ -37,7 +37,7 @@ buildPythonPackage rec {
# ignore tests on the nix wrapped setup.py and don't flake .eggs directory
checkPhase = ''
runHook preCheck
${python.interpreter} setup.py test --addopts "--ignore=nix_run_setup.py --ignore=.eggs"
${python.interpreter} setup.py test --addopts "--ignore=.eggs"
runHook postCheck
'';