about summary refs log tree commit diff
path: root/pkgs/build-support/rust
diff options
context:
space:
mode:
authorAstro <astro@spaceboyz.net>2023-02-08 23:40:38 +0100
committerAstro <astro@spaceboyz.net>2023-03-12 12:24:23 +0100
commit2d2aa463ddfa74f12e8982e9febcdb1972b7a99c (patch)
tree8be7f1e449e57f6f88181936a09bfab36401d7d5 /pkgs/build-support/rust
parent0c4800d579af4ed98ecc47d464a5e7b0870c4b1f (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.nix4
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;