about summary refs log tree commit diff
path: root/pkgs/development/lua-modules/nfd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/lua-modules/nfd/default.nix')
-rw-r--r--pkgs/development/lua-modules/nfd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/lua-modules/nfd/default.nix b/pkgs/development/lua-modules/nfd/default.nix
index 0bd421ede7ce..66624c6f0955 100644
--- a/pkgs/development/lua-modules/nfd/default.nix
+++ b/pkgs/development/lua-modules/nfd/default.nix
@@ -24,7 +24,7 @@ buildLuarocksPackage {
   luarocksConfig.variables.LUA_LIBDIR = "${lua}/lib";
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
 
   postInstall = ''
     find $out -name nfd_zenity.so -execdir mv {} nfd.so \;