From 7b8b68acaa61c2f79f37c6cfb1490c3bc6762a91 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 24 Feb 2024 15:59:10 +0100 Subject: [PATCH] fix x --- custom-pkgs/x/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-pkgs/x/default.nix b/custom-pkgs/x/default.nix index 467fe3d..904a0cf 100644 --- a/custom-pkgs/x/default.nix +++ b/custom-pkgs/x/default.nix @@ -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; {