summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-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";
});
};