mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
use direct func params instead of pkgs
using `makeRustPlatform` and `rust-bin` via func params can keep capacity for user to override `makeRustPlatform` and `rust-bin`.
This commit is contained in:
committed by
Sebastian Martinez
parent
10f22342d9
commit
d18663df68
@@ -78,8 +78,8 @@
|
||||
openssh,
|
||||
playwright-browsers_v1_47_0,
|
||||
}: let
|
||||
rTc = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain;
|
||||
rustPlatform = pkgs.makeRustPlatform {
|
||||
rTc = rust-bin.fromRustupToolchainFile ./rust-toolchain;
|
||||
rustPlatform = makeRustPlatform {
|
||||
cargo = rTc;
|
||||
rustc = rTc;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user