git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.jupyterlab: Fix build

The build was broken by updating the underlying python library. This is the quickfix. Fixes: ca67a7200cf ("python37Packages.jupyterlab_server: 0.2.0 -> 0.3.0") Signed-off-by: Matthias Beyer <mail@beyermatthias.de>

commitdfd8f84aef129f1978e446b5d45ef05cd4421821 authorMatthias Beyer <mail@beyermatthias.de> dateSat 20 Apr 2019, 03:42 (8 years ago) parented1b59a
1 file changed+9
pkgs/development/python-modules/jupyterlab/default.nix+9
pkgs/development/python-modules/jupyterlab/default.nix+9
@@ -4,6 +4,7 @@
44, jupyterlab_server
55, notebook
66, pythonOlder
7+, fetchpatch
78}:
89
910buildPythonPackage rec {
@@ -22,6 +23,14 @@ buildPythonPackage rec {
2223 "--set" "JUPYTERLAB_DIR" "$out/share/jupyter/lab"
2324 ];
2425
26+ patches = [
27+ (fetchpatch {
28+ name = "bump-jupyterlab_server-version";
29+ url = https://github.com/jupyterlab/jupyterlab/commit/3b8d451e6f9a4c609e60cde5fbb3cc84aae79951.patch;
30+ sha256 = "08vv6rp1k5fbmvj4v9x1d9zb6ymm9pv8ml80j7p45r9fay34rndf";
31+ })
32+ ];
33+
2534 # Depends on npm
2635 doCheck = false;
2736