mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 08:25:02 +01:00
18 lines
416 B
Nix
18 lines
416 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
rustup
|
|
];
|
|
packages = with pkgs; [
|
|
nodejs-18_x # Node.js 18, plus npm, npx, and corepack
|
|
yarn
|
|
wasmtime
|
|
wasm-tools
|
|
binaryen
|
|
];
|
|
|
|
shellHook = ''
|
|
export PATH=$PATH:''${CARGO_HOME:-~/.cargo}/bin
|
|
export PATH=$PATH:''${RUSTUP_HOME:-~/.rustup}/toolchains/$RUSTC_VERSION-x86_64-unknown-linux-gnu/bin/
|
|
'';
|
|
}
|