diff --git a/overrides/default.nix b/overrides/default.nix index b1fb780..0ab3453 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -2405,6 +2405,16 @@ lib.composeManyExtensions [ buildInputs = (old.buildInputs or [ ]) ++ [ self.Babel ]; }); + nbconvert = super.nbconvert.overridePythonAttrs (_: { + postPatch = '' + substituteInPlace \ + ./nbconvert/exporters/templateexporter.py \ + --replace \ + 'root_dirs.extend(jupyter_path())' \ + 'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \ + --subst-var out + ''; + }); } )