about summary refs log tree commit diff
path: root/pkgs/tools/misc/noti/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/noti/default.nix')
-rw-r--r--pkgs/tools/misc/noti/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/noti/default.nix b/pkgs/tools/misc/noti/default.nix
index 3401f74de937..1c33f4ff73d3 100644
--- a/pkgs/tools/misc/noti/default.nix
+++ b/pkgs/tools/misc/noti/default.nix
@@ -21,7 +21,7 @@ buildGoModule rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optional stdenv.isDarwin Cocoa;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Cocoa;
 
   ldflags = [
     "-s"