mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix(nix): only include the "rust-src" extention in the shell.nix
This commit is contained in:
parent
feec48b752
commit
8300ddb9ca
2 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,7 @@
|
|||
(
|
||||
final: prev:
|
||||
let
|
||||
toolchain = final.rust-bin.stable.latest.default.override { extensions = [ "rust-src" ]; };
|
||||
toolchain = final.rust-bin.stable.latest.default;
|
||||
in
|
||||
{
|
||||
rustPlatform = prev.makeRustPlatform {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ mainPkg.overrideAttrs (oa: {
|
|||
nativeBuildInputs = [
|
||||
(rust-bin.stable.latest.default.override {
|
||||
extensions = [
|
||||
"rust-src"
|
||||
"rustfmt"
|
||||
"rust-analyzer"
|
||||
"clippy"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue