about summary refs log tree commit diff
path: root/pkgs/by-name/th/the-powder-toy/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/th/the-powder-toy/package.nix')
-rw-r--r--pkgs/by-name/th/the-powder-toy/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/th/the-powder-toy/package.nix b/pkgs/by-name/th/the-powder-toy/package.nix
index 25da4e5d8818..771965b4068a 100644
--- a/pkgs/by-name/th/the-powder-toy/package.nix
+++ b/pkgs/by-name/th/the-powder-toy/package.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
     meson
     ninja
     pkg-config
-  ] ++ lib.optional stdenv.isLinux copyDesktopItems;
+  ] ++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems;
 
   buildInputs = [
     bzip2
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
     luajit
     SDL2
     zlib
-  ] ++ lib.optional stdenv.isDarwin Cocoa;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa;
 
   mesonFlags = [ "-Dworkaround_elusive_bzip2=false" ];