mirror of
https://github.com/NotAShelf/batmon.git
synced 2024-11-26 15:16:47 +00:00
21 lines
332 B
Nix
21 lines
332 B
Nix
|
{
|
||
|
callPackage,
|
||
|
rust-analyzer,
|
||
|
rustfmt,
|
||
|
clippy,
|
||
|
cargo,
|
||
|
}: let
|
||
|
mainPkg = callPackage ./default.nix {};
|
||
|
in
|
||
|
mainPkg.overrideAttrs (oa: {
|
||
|
nativeBuildInputs =
|
||
|
[
|
||
|
# Additional rust tooling
|
||
|
rust-analyzer
|
||
|
rustfmt
|
||
|
clippy
|
||
|
cargo
|
||
|
]
|
||
|
++ (oa.nativeBuildInputs or []);
|
||
|
})
|