From bd759ae3cefdba9cb9f72b46409c1f1e74e70415 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 17 Mar 2025 21:13:53 -0400 Subject: update --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4db99bf..84d005d 100644 --- a/flake.nix +++ b/flake.nix @@ -64,6 +64,7 @@ inherit src nativeBuildInputs buildInputs; strictDeps = true; CARGO_BUILD_TARGET = "x86_64-unknown-linux-gnu"; + CARGO_BUILD_RUSTFLAGS="-L ${glfw}/lib"; inherit (craneLib.crateNameFromCargoToml { inherit src; }) version; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { @@ -74,7 +75,6 @@ inherit cargoArtifacts; pname = nm; cargoExtraArgs = "-p ${nm}"; - RUSTFLAGS="-L ${glfw}/lib"; }); }; -- cgit v1.2.3