poetry: don't propagate dependencies

This was also done for poetry as packaged using poetry2nix.
This commit is contained in:
Robert Schütz 2023-01-11 19:20:46 -08:00
parent 634718637c
commit 7020893918

View File

@ -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