Skip to content

Commit

Permalink
nix: Remove musl special case
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <nick@nickspinale.com>
  • Loading branch information
nspin committed Jun 21, 2024
1 parent 7d8c9f2 commit b0e7ebe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hacking/nix/scope/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ superCallPackage ../rust-utils {} self //
else (
if platform.isNone
then "${rustToolchain}/lib/rustlib/${buildPlatform.config}/bin/rust-lld"
else (
if platform.isMusl # HACK for proper static linking on musl
then "${cc.targetPrefix}ld"
else "${cc.targetPrefix}cc"
)
else "${cc.targetPrefix}cc"
);

vendoredSuperLockfile = vendoredTopLevelLockfile;
Expand Down

0 comments on commit b0e7ebe

Please sign in to comment.