diff options
| author | LLLL Colonq <llll@colonq> | 2026-10-06 21:31:19 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-10-06 21:31:19 -0400 |
| commit | b71e024a8ecd93a5ff1db38db68010af9775c679 (patch) | |
| tree | 40f28724902e0deed7b29eda53e8a5319a816720 /flake.nix | |
| parent | 0bfb852f7a2784938f1b9724bc46d98bb5257f86 (diff) | |
Add texture sharing
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -200,19 +200,22 @@ }); }; - shell = craneLib.devShell { + baseShell = craneLib.devShell { packages = [ pkgs.trunk pkgs.rust-analyzer pkgs.cargo-flamegraph pkgs.cmake pkgs.mold - ] ++ native.nativeBuildInputs ++ native.buildInputs; + ]; LIBRARY_PATH = "$LIBRARY_PATH:${pkgs.lib.makeLibraryPath native.buildInputs}"; RUSTFLAGS="-L ${glfw}/lib"; LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath native.buildInputs}"; inherit LIBCOLONQ_PIT_NATIVE LIBCOLONQ_PIT_WASM; }; + shell = baseShell.overrideAttrs (final: prev: { + buildInputs = prev.buildInputs ++ native.nativeBuildInputs ++ native.buildInputs; + }); in { inherit shell native wasm windows; devShells.${system} = { |
