gnatcoll-*: get python binary name from derivation

This commit is contained in:
sternenseemann
2021-11-15 22:41:56 +01:00
committed by sterni
parent bde7dc1f81
commit 68ba489d8e
@@ -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
'';