summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-03-17 21:13:53 -0400
committerLLLL Colonq <llll@colonq>2025-03-17 21:13:53 -0400
commitbd759ae3cefdba9cb9f72b46409c1f1e74e70415 (patch)
treeb139dd5acb65771a10d5b253fd2df90ebacd10c1
parent88c5461f6ff54cd7d3a23b98eb8520f1088a9a25 (diff)
update
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
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";
});
};