nix: remove rust-overlay override args
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I2b710e73c9094e74c20605c5088483156a6a6964
This commit is contained in:
parent
acca3b280a
commit
fe165f9d4b
1 changed files with 2 additions and 9 deletions
|
|
@ -2,9 +2,6 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
rust-bin,
|
rust-bin,
|
||||||
# rust-overlay params
|
|
||||||
extraComponents ? [],
|
|
||||||
extraTargets ? [],
|
|
||||||
}: let
|
}: let
|
||||||
inherit (pkgs.rustc) llvmPackages;
|
inherit (pkgs.rustc) llvmPackages;
|
||||||
|
|
||||||
|
|
@ -46,12 +43,8 @@ in
|
||||||
# This is not exactly necessary, but it allows for compiling for various targets
|
# This is not exactly necessary, but it allows for compiling for various targets
|
||||||
# with the least amount of friction.
|
# with the least amount of friction.
|
||||||
(rust-bin.nightly.latest.default.override {
|
(rust-bin.nightly.latest.default.override {
|
||||||
extensions = ["rustfmt" "rust-src" "rust-analyzer" "clippy" "rust-analyzer"] ++ extraComponents;
|
extensions = ["rustfmt" "rust-src" "rust-analyzer" "clippy" "rust-analyzer"];
|
||||||
targets =
|
targets = ["wasm32-unknown-unknown"]; # web
|
||||||
[
|
|
||||||
"wasm32-unknown-unknown" # web
|
|
||||||
]
|
|
||||||
++ extraTargets;
|
|
||||||
})
|
})
|
||||||
|
|
||||||
# Handy CLI for packaging Dioxus apps and such
|
# Handy CLI for packaging Dioxus apps and such
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue