vanten-s.com/shell.nix
vanten-s ba6022747f
Some checks failed
/ build (push) Failing after 16s
Terminal implement typ
2024-12-18 11:17:29 +01:00

16 lines
407 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell rec {
buildInputs = with pkgs; [
rustup
trunk
];
RUSTC_VERSION = "stable";
shellHook = ''
rustup default $RUSTC_VERSION
rustup component add rust-analyzer
export PATH=$PATH:''${CARGO_HOME:-~/.cargo}/bin
export PATH=$PATH:''${RUSTUP_HOME:-~/.rustup}/toolchains/nightly-x86_64-unknown-linux-gnu/bin/
'';
}