This commit is contained in:
nora 2024-02-24 15:59:10 +01:00
parent 2097784bac
commit 7b8b68acaa

View file

@ -7,7 +7,7 @@
nativeBuildInputs = with pkgs; [ rustc ];
buildPhase = ''
PYTHON=${pkgs.python3} rustc -Copt-level=3 --crate-name x $src --out-dir $out/bin
PYTHON=${pkgs.lib.getExe pkgs.python3} rustc -Copt-level=3 --crate-name x $src --out-dir $out/bin
'';
meta = with pkgs.lib; {