build-rust-package: call sysroot/src with the expected lib parameter
This commit is contained in:
parent
0c4800d579
commit
2d2aa463dd
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
{ stdenv, rust, rustPlatform, buildPackages }:
|
||||
{ lib, stdenv, rust, rustPlatform, buildPackages }:
|
||||
|
||||
{ shortTarget, originalCargoToml, target, RUSTFLAGS }:
|
||||
|
||||
let
|
||||
cargoSrc = import ../../sysroot/src.nix {
|
||||
inherit stdenv rustPlatform buildPackages originalCargoToml;
|
||||
inherit lib stdenv rustPlatform buildPackages originalCargoToml;
|
||||
};
|
||||
in rustPlatform.buildRustPackage {
|
||||
inherit target RUSTFLAGS;
|
||||
|
|
Loading…
Reference in a new issue