Skip to content

Commit

Permalink
build-rust-package: call sysroot/src with the expected lib parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Mar 12, 2023
1 parent 0c4800d commit 2d2aa46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 2d2aa46

Please sign in to comment.