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:
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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue