aboutsummaryrefslogtreecommitdiffstats
path: root/shell.nix
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-26 12:04:14 -0500
committerbrian cully <bjc@spork.org>2025-12-26 12:04:14 -0500
commitfa3067a16f8ba06ee756eb2b2293be4cb728681d (patch)
tree41b5ab1e76e12be764d4f6481febe49862bf8ea1 /shell.nix
downloadpolyring-fa3067a16f8ba06ee756eb2b2293be4cb728681d.tar.gz
polyring-fa3067a16f8ba06ee756eb2b2293be4cb728681d.zip
add bouncing particles
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..3d960fa
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,31 @@
+{ 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
+ wasm-pack
+ rust-analyzer
+ clippy
+ rustfmt
+ # 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
+
+ typescript-language-server
+ vscode-langservers-extracted
+
+ # for http.server
+ python3
+
+ # testing scheme wasm stuff
+ guile
+ guile-hoot
+ ];
+
+ TMPDIR = "/tmp"; # javascript lsp needs it
+ CARGO_HOME = "/data/bjc/cargo";
+}