blob: ab0fd32e8e2665cec7e7af0b3edc09636fa27b7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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";
}
|