diff options
author | Astro <astro@spaceboyz.net> | 2023-02-08 23:40:38 +0100 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2023-03-12 12:24:23 +0100 |
commit | 2d2aa463ddfa74f12e8982e9febcdb1972b7a99c (patch) | |
tree | 8be7f1e449e57f6f88181936a09bfab36401d7d5 /pkgs/build-support/rust | |
parent | 0c4800d579af4ed98ecc47d464a5e7b0870c4b1f (diff) |
build-rust-package: call sysroot/src with the expected lib parameter
Diffstat (limited to 'pkgs/build-support/rust')
-rw-r--r-- | pkgs/build-support/rust/build-rust-package/sysroot/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/rust/build-rust-package/sysroot/default.nix b/pkgs/build-support/rust/build-rust-package/sysroot/default.nix index 1e0b901105cd8..e6f03cb47f685 100644 --- a/pkgs/build-support/rust/build-rust-package/sysroot/default.nix +++ b/pkgs/build-support/rust/build-rust-package/sysroot/default.nix @@ -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; |