about summary refs log tree commit diff
path: root/pkgs/tools/misc/iay/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/iay/default.nix')
-rw-r--r--pkgs/tools/misc/iay/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/iay/default.nix b/pkgs/tools/misc/iay/default.nix
index 1ef3d332e75d..5973ed258b59 100644
--- a/pkgs/tools/misc/iay/default.nix
+++ b/pkgs/tools/misc/iay/default.nix
@@ -28,14 +28,14 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     openssl
   ]
-  ++ lib.optionals stdenv.isDarwin [
+  ++ lib.optionals stdenv.hostPlatform.isDarwin [
     AppKit
     Cocoa
     Foundation
     Security
   ];
 
-  NIX_LDFLAGS = lib.optionals stdenv.isDarwin [ "-framework" "AppKit" ];
+  NIX_LDFLAGS = lib.optionals stdenv.hostPlatform.isDarwin [ "-framework" "AppKit" ];
 
   meta = with lib; {
     description = "Minimalistic, blazing-fast, and extendable prompt for bash and zsh";