From 68ba489d8e9be9587148126cb8843f840376fc09 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 1 Nov 2021 16:12:57 +0100 Subject: [PATCH] gnatcoll-*: get python binary name from derivation --- pkgs/development/libraries/ada/gnatcoll/bindings.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ada/gnatcoll/bindings.nix b/pkgs/development/libraries/ada/gnatcoll/bindings.nix index 1937231d3a02..fb2a744be7fb 100644 --- a/pkgs/development/libraries/ada/gnatcoll/bindings.nix +++ b/pkgs/development/libraries/ada/gnatcoll/bindings.nix @@ -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 '';