mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-22 08:11:33 +03:00
25 lines
405 B
Nix
25 lines
405 B
Nix
{
|
|
callPackage,
|
|
rust-bin,
|
|
nodePackages,
|
|
}:
|
|
let
|
|
mainPkg = callPackage ./yazi.nix { };
|
|
in
|
|
mainPkg.overrideAttrs (oa: {
|
|
nativeBuildInputs = [
|
|
(rust-bin.stable.latest.default.override {
|
|
extensions = [
|
|
"rust-src"
|
|
"rustfmt"
|
|
"rust-analyzer"
|
|
"clippy"
|
|
];
|
|
})
|
|
|
|
nodePackages.cspell
|
|
] ++ (oa.nativeBuildInputs or [ ]);
|
|
|
|
env.RUST_BACKTRACE = "1";
|
|
})
|