pythonPackages.notebook: cleanup

As discussed in https://github.com/NixOS/nixpkgs/pull/37607#issuecomment-375226186.
wip/yesman
Vaibhav Sagar 6 years ago
parent ce2bf3bde0
commit 01f29bb0c0
  1. 6
      pkgs/development/python-modules/notebook/default.nix

@ -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

Loading…
Cancel
Save