about summary refs log tree commit diff
path: root/pkgs/tools/misc/ghostie/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/ghostie/default.nix')
-rw-r--r--pkgs/tools/misc/ghostie/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/misc/ghostie/default.nix b/pkgs/tools/misc/ghostie/default.nix
index 0a4e1cb695e0d..e6a47a5577380 100644
--- a/pkgs/tools/misc/ghostie/default.nix
+++ b/pkgs/tools/misc/ghostie/default.nix
@@ -33,14 +33,14 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     openssl
     sqlite
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Cocoa
   ];
 
   # 4 out of 5 tests are notification tests which do not work in nix builds
   doCheck = false;
 
-  preBuild = lib.optionalString stdenv.isDarwin ''
+  preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
     export HOME=$(mktemp -d)
   '';
 
@@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec {
     changelog = "https://github.com/attriaayush/ghostie/releases/tag/v${version}";
     license = licenses.mit;
     maintainers = with maintainers; [ matthiasbeyer ];
-    broken = stdenv.isx86_64 && stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin;
     mainProgram = "ghostie";
   };
 }