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 {
3737 '' +
3838 # Aarch is statically linked and does not produce a .so file.
3939 # 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 ) ( ''
4141 printf "checking that executable is dynamically linked to system libraries... " >& 2
4242 '' + optionalString ( stdenv . isLinux && ! stdenv . hostPlatform . isMusl ) ''
4343 ${ haskellLib . lddForTests } $exe | grep 'libc[.]so'
@@ -57,7 +57,7 @@ in recurseIntoAttrs {
5757 '' + optionalString stdenv . isLinux ''
5858 ${ haskellLib . lddForTests } $sofile | grep libHSghc-prim
5959 '' + optionalString stdenv . isDarwin ''
60- otool -L $sofile | grep libHSghc-prim
60+ otool -L $sofile | grep libHSghc-
6161 '' ) ) + ''
6262 touch $out
6363
You can’t perform that action at this time.
0 commit comments