mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Use python.interpreter instead of reconstructing interpreter path
This commit is contained in:
parent
4f584835c9
commit
7b20b192a2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ poetry2nix.mkPoetryApplication {
|
|||
cat > $out/bin/poetry <<EOF
|
||||
#!${runtimeShell}
|
||||
export PYTHONPATH=$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH
|
||||
exec ${python}/bin/python -m poetry "\$@"
|
||||
exec ${python.interpreter} -m poetry "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/poetry
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue