mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +00:00
14 lines
265 B
Nix
14 lines
265 B
Nix
![]() |
{ callPackage, rust-analyzer, rustfmt, clippy }:
|
||
|
|
||
|
let
|
||
|
mainPkg = callPackage ./default.nix { };
|
||
|
in
|
||
|
mainPkg.overrideAttrs (oa: {
|
||
|
nativeBuildInputs = [
|
||
|
# Additional rust tooling
|
||
|
rust-analyzer
|
||
|
rustfmt
|
||
|
clippy
|
||
|
] ++ (oa.nativeBuildInputs or [ ]);
|
||
|
})
|