papermc: restore darwin support

This commit is contained in:
Weijia Wang 2024-06-26 16:45:48 +02:00
parent af796de7d1
commit 354cd74dbf

View File

@ -22,7 +22,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
makeWrapper ${lib.getExe jre} "$out/bin/minecraft-server" \
--append-flags "-jar $out/share/papermc/papermc.jar nogui" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}
${lib.optionalString stdenvNoCC.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
runHook postInstall
'';