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:
|
final: prev:
|
||||||
let
|
let
|
||||||
toolchain = final.rust-bin.stable.latest.default.override { extensions = [ "rust-src" ]; };
|
toolchain = final.rust-bin.stable.latest.default;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
rustPlatform = prev.makeRustPlatform {
|
rustPlatform = prev.makeRustPlatform {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ mainPkg.overrideAttrs (oa: {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
(rust-bin.stable.latest.default.override {
|
(rust-bin.stable.latest.default.override {
|
||||||
extensions = [
|
extensions = [
|
||||||
|
"rust-src"
|
||||||
"rustfmt"
|
"rustfmt"
|
||||||
"rust-analyzer"
|
"rust-analyzer"
|
||||||
"clippy"
|
"clippy"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue