diff options
Diffstat (limited to 'pkgs/games/ddnet/default.nix')
-rw-r--r-- | pkgs/games/ddnet/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/ddnet/default.nix b/pkgs/games/ddnet/default.nix index 7356e9395d766..baeabd63ebe4d 100644 --- a/pkgs/games/ddnet/default.nix +++ b/pkgs/games/ddnet/default.nix @@ -83,9 +83,9 @@ stdenv.mkDerivation rec { vulkan-headers glslang spirv-tools - ] ++ lib.optionals stdenv.isLinux [ + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libX11 - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa OpenGL @@ -110,7 +110,7 @@ stdenv.mkDerivation rec { ]; # Tests loop forever on Darwin for some reason - doCheck = !stdenv.isDarwin; + doCheck = !stdenv.hostPlatform.isDarwin; checkTarget = "run_tests"; postInstall = lib.optionalString (!buildClient) '' |