squiggle/nix/shell.nix

26 lines
443 B
Nix
Raw Normal View History

2022-08-29 13:39:18 +00:00
{ pkgs }:
2022-08-30 05:45:12 +00:00
with pkgs;
let
js = [ yarn nodejs nodePackages.ts-node ];
rust = [
wasm-pack
cargo
rustup
pkg-config
libressl
rustfmt
wasmtime
binaryen
wasm-bindgen-cli
];
in {
all = mkShell {
name = "squiggle_yarn-wasm-devshell";
buildInputs = builtins.concatLists [ js rust [ nixfmt ] ];
};
just-js = mkShell {
name = "squiggle_yarn-devshell";
buildInputs = js ++ [ nixfmt ];
2022-08-29 13:39:18 +00:00
};
}