Skip to content

Commit

Permalink
pkgsCross: use mlibc if hostPlatform is mlibc
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcunt committed Jan 12, 2025
1 parent 7125476 commit 01b2ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/stage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ let
crossSystem = {
isStatic = true;
config = lib.systems.parse.tripleFromSystem (
if stdenv.hostPlatform.isLinux
if stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isMlibc
then makeMuslParsedPlatform stdenv.hostPlatform.parsed
else stdenv.hostPlatform.parsed
);
Expand Down

0 comments on commit 01b2ea5

Please sign in to comment.