···38 rm -f $pslibs/libcrypto${ext}.1.0.0
39 rm -f $pslibs/libssl${ext}.1.0.0
4041+ # At least the 7.1.3-osx package does not have the executable bit set.
42+ chmod a+x $pslibs/pwsh
43+44 ls $pslibs
45 '' + lib.optionalString (!stdenv.isDarwin) ''
46 patchelf --replace-needed libcrypto${ext}.1.0.0 libcrypto${ext}.1.1 $pslibs/libmi.so
···5859 doInstallCheck = true;
60 installCheckPhase = ''
61+ # May need a writable home, seen on Darwin.
62+ HOME=$TMP $out/bin/pwsh --help > /dev/null
63 '';
6465 meta = with lib; {