Skip to content

Commit

Permalink
fix the RUST_SRC_PATH on macos???
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Jun 21, 2024
1 parent c057e34 commit ebe7f44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nix/cross-helpers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ in rec {

crossParams = if host == target then {
cc = pkgs.stdenv.cc;
extraBuildEnv = { };
extraBuildEnv = {
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
} else rec {
cc = pkgsCross.stdenv.cc;
extraBuildEnv = {
Expand Down

0 comments on commit ebe7f44

Please sign in to comment.