12 lines
295 B
Nix
12 lines
295 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell {
|
|
# Get dependencies from the main package
|
|
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
|
|
# Additional tooling
|
|
buildInputs = with pkgs; [
|
|
rust-analyzer # LSP Server
|
|
rustfmt # Formatter
|
|
clippy # Linter
|
|
];
|
|
}
|