add flakes
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
dca96d2f2e
commit
0dbbc6a778
4 changed files with 151 additions and 0 deletions
11
shell.nix
Normal file
11
shell.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ clippy, rustfmt, callPackage, rust-analyzer, }:
|
||||
let mainPkg = callPackage ./default.nix { };
|
||||
in mainPkg.overrideAttrs (prev: {
|
||||
nativeBuildInputs = [
|
||||
# Additional Rust tooling
|
||||
clippy
|
||||
rustfmt
|
||||
rust-analyzer
|
||||
] ++ (prev.nativeBuildInputs or [ ]);
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue