Skip to content

Commit 72d622c

Browse files
committed
fix native musl
1 parent cd404c4 commit 72d622c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ in {
256256
&& !(stdenv.hostPlatform.isLinux && stdenv.targetPlatform.isMusl && stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch);
257257
# Native musl build-host-target combo
258258
isNativeMusl = stdenv.hostPlatform.isMusl
259-
&& stdenv.buildPlatform == stdenv.hostPlatform
260-
&& stdenv.hostPlatform == stdenv.targetPlatform;
259+
&& stdenv.buildPlatform.linuxArch == stdenv.hostPlatform.linuxArch
260+
&& stdenv.hostPlatform.linuxArch == stdenv.targetPlatform.linuxArch;
261261

262262
# Takes a version number, module or list of modules (for cabalProject)
263263
# and converts it to an list of project modules. This allows

0 commit comments

Comments
 (0)