Portfolio/nix/devshell.nix
2024-02-14 14:32:54 -05:00

16 lines
No EOL
307 B
Nix

{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
# Get dependencies from the main package
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
# Additional tooling
buildInputs = with pkgs; [
cargo
cargo-watch
rustc
rustup
clippy
rust-analyzer
pkg-config
bacon
];
}