1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00

gnatcoll-*: get python binary name from derivation

This commit is contained in:
sternenseemann 2021-11-01 16:12:57 +01:00 committed by sterni
parent bde7dc1f81
commit 68ba489d8e

View file

@ -68,13 +68,13 @@ stdenv.mkDerivation rec {
buildPhase = ''
runHook preBuild
python3 ${component}/setup.py build --prefix $out $buildFlags
${python3.interpreter} ${component}/setup.py build --prefix $out $buildFlags
runHook postBuild
'';
installPhase = ''
runHook preInstall
python3 ${component}/setup.py install --prefix $out
${python3.interpreter} ${component}/setup.py install --prefix $out
runHook postInstall
'';