diff options
| author | LLLL Colonq <llll@colonq> | 2026-04-23 02:54:46 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-04-23 02:54:46 -0400 |
| commit | b5e58b399b90a3b5336ccf4b85354bc3f50abe7f (patch) | |
| tree | aac2a6b1c12774bb10228e75f738490116837d76 /flake.nix | |
| parent | 71945d98a09a66ff51d82c30f4d8c3e6d9f4f94c (diff) | |
Update
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -82,7 +82,7 @@ inherit LIBCOLONQ_PIT_NATIVE; strictDeps = true; CARGO_BUILD_TARGET = "x86_64-unknown-linux-gnu"; - CARGO_BUILD_RUSTFLAGS="-L ${glfw}/lib"; + CARGO_BUILD_RUSTFLAGS="-L ${glfw}/lib -L ${LIBCOLONQ_PIT_NATIVE}"; inherit (craneLib.crateNameFromCargoToml { inherit src; }) version; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { @@ -107,7 +107,7 @@ inherit LIBCOLONQ_PIT_NATIVE; strictDeps = true; CARGO_BUILD_TARGET = "x86_64-unknown-linux-gnu"; - CARGO_BUILD_RUSTFLAGS="-L ${glfw}/lib"; + CARGO_BUILD_RUSTFLAGS="-L ${glfw}/lib -L ${LIBCOLONQ_PIT_NATIVE}"; inherit (craneLib.crateNameFromCargoToml { inherit src; }) version; }; cargoArtifacts = craneLib.buildDepsOnly (commonArgs // { @@ -140,6 +140,7 @@ inherit LIBCOLONQ_PIT_WASM; strictDeps = true; CARGO_BUILD_TARGET = "wasm32-unknown-unknown"; + CARGO_BUILD_RUSTFLAGS="-L ${LIBCOLONQ_PIT_WASM}"; buildInputs = []; inherit (craneLib.crateNameFromCargoToml { inherit src; }) version; wasm-bindgen-cli = pkgs.buildWasmBindgenCli rec { |
