pythonPackages.notebook: cleanup

As discussed in https://github.com/NixOS/nixpkgs/pull/37607#issuecomment-375226186.
This commit is contained in:
Vaibhav Sagar 2018-03-22 17:41:10 +08:00
parent ce2bf3bde0
commit 01f29bb0c0

View file

@ -33,7 +33,7 @@ buildPythonPackage rec {
LC_ALL = "en_US.utf8";
buildInputs = [ nose glibcLocales ]
checkInputs = [ nose glibcLocales ]
++ (if isPy3k then [ nose_warnings_filters ] else [ mock ]);
propagatedBuildInputs = [
@ -43,9 +43,9 @@ buildPythonPackage rec {
# disable warning_filters
preCheck = lib.optionalString (!isPy3k) ''
echo "" > setup.cfg
cat setup.cfg
touch setup.cfg
'';
checkPhase = ''
runHook preCheck
mkdir tmp