about summary refs log tree commit diff
path: root/pkgs/games/minecraft-servers/derivation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/minecraft-servers/derivation.nix')
-rw-r--r--pkgs/games/minecraft-servers/derivation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/minecraft-servers/derivation.nix b/pkgs/games/minecraft-servers/derivation.nix
index a94a2daecac2..c6f26d73eb6f 100644
--- a/pkgs/games/minecraft-servers/derivation.nix
+++ b/pkgs/games/minecraft-servers/derivation.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
 
     makeWrapper ${lib.getExe jre_headless} $out/bin/minecraft-server \
       --append-flags "-jar $out/lib/minecraft/server.jar nogui" \
-      ${lib.optionalString stdenv.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
+      ${lib.optionalString stdenv.hostPlatform.isLinux "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]}"}
 
     runHook postInstall
   '';