Skip to content

Commit 9ad088f

Browse files
committed
fix musl being considered stage2
1 parent 2884b5f commit 9ad088f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ in {
255255
isCrossTarget = stdenv.targetPlatform != stdenv.hostPlatform
256256
&& !(stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch);
257257
# Native musl build-host-target combo
258-
isNativeMusl = stdenv.hostPlatform.isMusl
258+
isNativeMusl = stdenv.targetPlatform.isMusl
259259
&& stdenv.buildPlatform.linuxArch == stdenv.hostPlatform.linuxArch
260260
&& stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch;
261261

0 commit comments

Comments
 (0)