pythonPackages.notebook: cleanup
As discussed in https://github.com/NixOS/nixpkgs/pull/37607#issuecomment-375226186.
This commit is contained in:
parent
ce2bf3bde0
commit
01f29bb0c0
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
LC_ALL = "en_US.utf8";
|
LC_ALL = "en_US.utf8";
|
||||||
|
|
||||||
buildInputs = [ nose glibcLocales ]
|
checkInputs = [ nose glibcLocales ]
|
||||||
++ (if isPy3k then [ nose_warnings_filters ] else [ mock ]);
|
++ (if isPy3k then [ nose_warnings_filters ] else [ mock ]);
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -43,9 +43,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# disable warning_filters
|
# disable warning_filters
|
||||||
preCheck = lib.optionalString (!isPy3k) ''
|
preCheck = lib.optionalString (!isPy3k) ''
|
||||||
echo "" > setup.cfg
|
touch setup.cfg
|
||||||
cat setup.cfg
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user