mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
build-systems: prevent nbconvert from pulling CSS from the web during buildPhase
This commit is contained in:
parent
2d00c767e1
commit
0cf66e7e10
1 changed files with 6 additions and 0 deletions
|
@ -2528,6 +2528,12 @@ lib.composeManyExtensions [
|
||||||
'root_dirs.extend(jupyter_path())' \
|
'root_dirs.extend(jupyter_path())' \
|
||||||
'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \
|
'root_dirs.extend(jupyter_path() + [os.path.join("@out@", "share", "jupyter")])' \
|
||||||
--subst-var out
|
--subst-var out
|
||||||
|
'' + lib.optionalString (lib.versionAtLeast self.nbconvert.version "7.0") ''
|
||||||
|
substituteInPlace \
|
||||||
|
./hatch_build.py \
|
||||||
|
--replace \
|
||||||
|
'if self.target_name not in ["wheel", "sdist"]:' \
|
||||||
|
'if True:'
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue