Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9401576b642a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f0c39b4b6338
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 4, 2020

  1. poetry: Don't add dependencies to PYTHONPATH

    They get picked up by child processes of poetry which for example
    leads to the wrong version of pip being used by `poetry install`.
    adisbladis committed Jan 4, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    millotp Pierre Millot
    Copy the full SHA
    f0c39b4 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkgs/development/tools/poetry/default.nix
2 changes: 1 addition & 1 deletion pkgs/development/tools/poetry/default.nix
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ poetry2nix.mkPoetryApplication {
mkdir -p $out/bin
cat > $out/bin/poetry <<EOF
#!${runtimeShell}
export PYTHONPATH=$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH
export PYTHONPATH=$out/lib/${python.libPrefix}/site-packages
exec ${python.interpreter} -m poetry "\$@"
EOF
chmod +x $out/bin/poetry