Skip to content

Commit e5b13d7

Browse files
committed
Update android.nix
1 parent e4e0d30 commit e5b13d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

overlays/android.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({
2828
zlib = prev.zlib.override { shared = false; static = true; };
2929

3030
}) // prev.lib.optionalAttrs prev.stdenv.targetPlatform.isAndroid ({
31-
bionic = prev.bionic.override { enableStatic = true; enableShared = false; };
31+
# we still need the shared libraries to link against on the platform. GHC
32+
# has been neutered to not even try loading shared libs and will use dynamic ones.
33+
bionic = prev.bionic.override { enableStatic = true; enableShared = true; };
3234
})

0 commit comments

Comments
 (0)