about summary refs log tree commit diff
path: root/pkgs/tools/misc/tab-rs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/tab-rs/default.nix')
-rw-r--r--pkgs/tools/misc/tab-rs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/tab-rs/default.nix b/pkgs/tools/misc/tab-rs/default.nix
index 6298d84c41fd..7d3721acb3c4 100644
--- a/pkgs/tools/misc/tab-rs/default.nix
+++ b/pkgs/tools/misc/tab-rs/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-56gy9AH3i4OSvExMuR3n/2hF5pJgbn5JJpxZLXKfu2w=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ];
 
   # many tests are failing
   doCheck = false;
@@ -24,6 +24,6 @@ rustPlatform.buildRustPackage rec {
     license = licenses.mit;
     maintainers = [ ];
     mainProgram = "tab";
-    broken = (stdenv.isDarwin && stdenv.isAarch64); # Added 2023-11-13
+    broken = (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64); # Added 2023-11-13
   };
 }