mirror of
https://github.com/sxyazi/yazi.git
synced 2024-11-27 14:03:29 +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";
|
|
})
|