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,
|
||||
pkgs,
|
||||
rust-bin,
|
||||
# rust-overlay params
|
||||
extraComponents ? [],
|
||||
extraTargets ? [],
|
||||
}: let
|
||||
inherit (pkgs.rustc) llvmPackages;
|
||||
|
||||
|
|
@ -46,12 +43,8 @@ in
|
|||
# This is not exactly necessary, but it allows for compiling for various targets
|
||||
# with the least amount of friction.
|
||||
(rust-bin.nightly.latest.default.override {
|
||||
extensions = ["rustfmt" "rust-src" "rust-analyzer" "clippy" "rust-analyzer"] ++ extraComponents;
|
||||
targets =
|
||||
[
|
||||
"wasm32-unknown-unknown" # web
|
||||
]
|
||||
++ extraTargets;
|
||||
extensions = ["rustfmt" "rust-src" "rust-analyzer" "clippy" "rust-analyzer"];
|
||||
targets = ["wasm32-unknown-unknown"]; # web
|
||||
})
|
||||
|
||||
# Handy CLI for packaging Dioxus apps and such
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue