iv: only use patchelf on linux

This commit is contained in:
Matthew Bauer 2019-06-05 23:42:58 -04:00
parent e0a33f36fd
commit 441485af66

View File

@ -20,6 +20,7 @@ stdenv.mkDerivation rec
break break
fi fi
done done
'' + stdenv.lib.optionalString stdenv.isLinux ''
patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so
''; '';
meta = with stdenv.lib; meta = with stdenv.lib;