mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.notebook: cleanup
As discussed in https://github.com/NixOS/nixpkgs/pull/37607#issuecomment-375226186.
This commit is contained in:
parent
ce2bf3bde0
commit
01f29bb0c0
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue