Loading pkgs/development/python-modules/notebook/default.nix +18 −6 Original line number Diff line number Diff line Loading @@ -3,16 +3,24 @@ stdenv, buildPythonPackage, fetchFromGitHub, # nativeBuildInputs nodejs, yarn-berry_3, distutils, # build-system hatch-jupyter-builder, hatchling, jupyter-server, jupyterlab, # dependencies jupyter-server, jupyterlab-server, notebook-shim, tornado, # tests pytest-jupyter, pytestCheckHook, }: Loading @@ -31,13 +39,17 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace "timeout = 300" "" --replace-fail "timeout = 300" "" ''; nativeBuildInputs = [ nativeBuildInputs = [ nodejs yarn-berry_3.yarnBerryConfigHook ] ++ lib.optional (stdenv.hostPlatform.system == "aarch64-linux") distutils; ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ distutils ]; missingHashes = ./missing-hashes.json; Loading Loading
pkgs/development/python-modules/notebook/default.nix +18 −6 Original line number Diff line number Diff line Loading @@ -3,16 +3,24 @@ stdenv, buildPythonPackage, fetchFromGitHub, # nativeBuildInputs nodejs, yarn-berry_3, distutils, # build-system hatch-jupyter-builder, hatchling, jupyter-server, jupyterlab, # dependencies jupyter-server, jupyterlab-server, notebook-shim, tornado, # tests pytest-jupyter, pytestCheckHook, }: Loading @@ -31,13 +39,17 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace "timeout = 300" "" --replace-fail "timeout = 300" "" ''; nativeBuildInputs = [ nativeBuildInputs = [ nodejs yarn-berry_3.yarnBerryConfigHook ] ++ lib.optional (stdenv.hostPlatform.system == "aarch64-linux") distutils; ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ distutils ]; missingHashes = ./missing-hashes.json; Loading