nix: remove rust-overlay override args

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2b710e73c9094e74c20605c5088483156a6a6964
This commit is contained in:
raf 2026-02-05 06:33:36 +03:00
commit fe165f9d4b
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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