mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
poetry: don't propagate dependencies
This was also done for poetry as packaged using poetry2nix.
This commit is contained in:
parent
634718637c
commit
7020893918
@ -63,6 +63,12 @@ in python.pkgs.buildPythonApplication rec {
|
||||
--zsh <($out/bin/poetry completions zsh) \
|
||||
'';
|
||||
|
||||
# Propagating dependencies leaks them through $PYTHONPATH which causes issues
|
||||
# when used in nix-shell.
|
||||
postFixup = ''
|
||||
rm $out/nix-support/propagated-build-inputs
|
||||
'';
|
||||
|
||||
checkInputs = with python.pkgs; [
|
||||
cachy
|
||||
deepdiff
|
||||
|
Loading…
Reference in New Issue
Block a user