diff options
| author | Brian Cully <bjc@spork.org> | 2025-08-07 11:40:05 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-08-07 11:42:35 -0400 |
| commit | b2e411de770a437dbdf31408b877e2952759e57a (patch) | |
| tree | ecb124526bca7c8aa1a6a48999188a393bce1c71 /shell.nix | |
| download | addem-rust-wasm-b2e411de770a437dbdf31408b877e2952759e57a.tar.gz addem-rust-wasm-b2e411de770a437dbdf31408b877e2952759e57a.zip | |
WORKING add test
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..ab0fd32 --- /dev/null +++ b/shell.nix @@ -0,0 +1,21 @@ +{ pkgs ? import <nixpkgs> {} }: + +pkgs.mkShellNoCC { + packages = with pkgs; [ + rustc + clang # yes, it's necessary or ‘cc’ can't be found. -bjc 2025-aug-7 + lld # ibid. + cargo + rust-analyzer + wasm-pack + # the only thing better than needing cargo's infinite dependencies + # is needing npm's as well, just so we can use a bundler built for + # another, wildly different, registry. + nodePackages.npm + + # for http.server + python3 + ]; + + CARGO_HOME = "/data/bjc/cargo"; +} |
