Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
try to override bintools for all of crane
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Mar 28, 2023
1 parent cee6700 commit 26fc3a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
if (stdenv.targetPlatform.isGnu && stdenv.targetPlatform.isAarch64) then
overrideCC llvmPackages.stdenv (llvmPackages.clang.override { gccForLibs = gcc11.cc; })
else
llvmPackages.stdenv;
overrideCC llvmPackages.stdenv (wrapCCWith {
cc = llvmPackages.clang;
bintools = llvmPackages.bintools;
});
});

craneLib = craneLibScope.overrideToolchain rustToolchain;
Expand Down

0 comments on commit 26fc3a2

Please sign in to comment.