diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index bd94d40c4bd3..15f93878ab71 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -46,6 +46,12 @@ buildPythonPackage rec { echo "" > setup.cfg ''; + postPatch = '' + # Remove selenium tests + rm -rf notebook/tests/selenium + + ''; + checkPhase = '' runHook preCheck mkdir tmp