File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ in recurseIntoAttrs {
37
37
'' +
38
38
# Aarch is statically linked and does not produce a .so file.
39
39
# Musl is also statically linked, but it does make a .so file so we should check that still.
40
- optionalString ( ! stdenv . hostPlatform . isAarch32 && ! stdenv . hostPlatform . isAarch64 ) ( ''
40
+ optionalString ( ! stdenv . hostPlatform . isAarch32 && ! stdenv . hostPlatform . isAarch64 || stdenv . hostPlatform . isDarwin ) ( ''
41
41
printf "checking that executable is dynamically linked to system libraries... " >& 2
42
42
'' + optionalString ( stdenv . isLinux && ! stdenv . hostPlatform . isMusl ) ''
43
43
${ haskellLib . lddForTests } $exe | grep 'libc[.]so'
@@ -57,7 +57,7 @@ in recurseIntoAttrs {
57
57
'' + optionalString stdenv . isLinux ''
58
58
${ haskellLib . lddForTests } $sofile | grep libHSghc-prim
59
59
'' + optionalString stdenv . isDarwin ''
60
- otool -L $sofile | grep libHSghc-prim
60
+ otool -L $sofile | grep libHSghc-
61
61
'' ) ) + ''
62
62
touch $out
63
63
You can’t perform that action at this time.
0 commit comments