Remove pkgsBuildHost from devShell.
Some checks failed
clippy Build clippy has failed
build Build build has failed
rust-test Build rust-test has failed
format Build format has failed
foreign-document-test Build foreign-document-test has failed

This commit is contained in:
Tom Alexander
2026-07-10 21:04:21 -04:00
parent 14f29298da
commit 5167a9f010
2 changed files with 5 additions and 5 deletions

View File

@@ -35,9 +35,9 @@
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system overlays; inherit system overlays;
}; };
rustToolchain = rustToolchain = (pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml).override {
(pkgs.pkgsBuildHost.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml).override targets = [ "wasm32-unknown-unknown" ];
{ targets = [ "wasm32-unknown-unknown" ]; }; };
in in
{ {
default = pkgs.mkShell { default = pkgs.mkShell {

View File

@@ -2,7 +2,7 @@
hello, hello,
lib, lib,
makeRustPlatform, makeRustPlatform,
pkgsBuildHost, rust-bin,
targetBins ? [ ], targetBins ? [ ],
features ? [ ], features ? [ ],
@@ -12,7 +12,7 @@
}: }:
let let
cargoToml = (lib.importTOML ../Cargo.toml); cargoToml = (lib.importTOML ../Cargo.toml);
rustToolchain = (pkgsBuildHost.rust-bin.fromRustupToolchainFile ../rust-toolchain.toml).override ( rustToolchain = (rust-bin.fromRustupToolchainFile ../rust-toolchain.toml).override (
if cargoBuildTarget != null then if cargoBuildTarget != null then
{ {
targets = [ cargoBuildTarget ]; targets = [ cargoBuildTarget ];