Remove pkgsBuildHost from devShell.

This commit is contained in:
Tom Alexander
2026-07-10 21:04:21 -04:00
parent de6739f9b6
commit 957bb3a5c8
2 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
hello,
lib,
makeRustPlatform,
pkgsBuildHost,
rust-bin,
targetBins ? [ ],
features ? [ ],
@@ -12,7 +12,7 @@
}:
let
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
{
targets = [ cargoBuildTarget ];