advent-of-code/shell.nix
2023-12-02 18:51:05 +01:00

11 lines
218 B
Nix

{ pkgs ? import <nixpkgs> { } }: pkgs.mkShell {
buildInputs = with pkgs; [
rustup
];
shellHook = ''
export PATH=$PATH:''${CARGO_HOME:-~/.cargo}/bin
'';
packages = (with pkgs; [
shellcheck
]);
}