shells: make barebones rust shell and create additional screeps shell

This commit is contained in:
Christoph Hollizeck 2024-10-13 17:01:33 +02:00
parent b66a0f80d0
commit 9ff2b4d3e2
2 changed files with 36 additions and 10 deletions

View file

@ -16,20 +16,11 @@
...
}:
let
fenix =
with inputs.fenix.packages.${system};
combine [
latest.toolchain
targets.wasm32-unknown-unknown.latest.rust-std
];
fenix = inputs.fenix.packages.${system}.latest.toolchain;
in
mkShell {
# Create your shell
nativeBuildInputs = [
fenix
pkgs.llvmPackages.bintools
pkgs.wasm-pack
];
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_LINKER = "lld";
}