mirror of
https://github.com/NotAShelf/systemyml.git
synced 2024-11-22 21:31:09 +00:00
19 lines
309 B
Nix
19 lines
309 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 []);
|
||
|
})
|