mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
add override to fix collision with jupyter-core
This commit is contained in:
parent
a4b7692032
commit
48ce125440
1 changed files with 15 additions and 0 deletions
|
@ -633,6 +633,12 @@ self: super:
|
|||
# dependencies. It does however have a jupyter.py file that conflicts
|
||||
# with jupyter-core so this meta solves this conflict.
|
||||
meta.priority = 100;
|
||||
|
||||
# remove, what is already present in jupyter-core
|
||||
postInstall = ''
|
||||
rm -f $out/lib/python*/site-packages/__pycache__/jupyter.cpython-39.pyc
|
||||
rm -f $out/lib/python*/site-packages/jupyter.py
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -641,6 +647,15 @@ self: super:
|
|||
buildInputs = (old.buildInputs or [ ]) ++ [ self.jupyter-packaging ];
|
||||
}
|
||||
);
|
||||
|
||||
jupyter-core = super.jupyter-core.overridePythonAttrs (
|
||||
old: {
|
||||
postInstall = ''
|
||||
rm -f $out/lib/python*/site-packages/__pycache__/jupyter.cpython-39.pyc
|
||||
rm -f $out/lib/python*/site-packages/jupyter.py
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
||||
kerberos = super.kerberos.overrideAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.libkrb5 ];
|
||||
|
|
Loading…
Add table
Reference in a new issue