about summary refs log tree commit diff
path: root/pkgs/tools/misc/getoptions/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/getoptions/default.nix')
-rw-r--r--pkgs/tools/misc/getoptions/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/getoptions/default.nix b/pkgs/tools/misc/getoptions/default.nix
index 2ff3d4c64403..d3dcde29dcd6 100644
--- a/pkgs/tools/misc/getoptions/default.nix
+++ b/pkgs/tools/misc/getoptions/default.nix
@@ -16,14 +16,14 @@ stdenvNoCC.mkDerivation rec {
   doCheck = true;
 
   nativeCheckInputs = [ shellspec ksh mksh yash zsh ]
-    ++ lib.lists.optional (!stdenvNoCC.isDarwin) busybox-sandbox-shell;
+    ++ lib.lists.optional (!stdenvNoCC.hostPlatform.isDarwin) busybox-sandbox-shell;
 
   # Disable checks against yash, since shellspec seems to be broken for yash>=2.54
   # (see: https://github.com/NixOS/nixpkgs/pull/218264#pullrequestreview-1434402054)
   preCheck = ''
     sed -i '/shellspec -s posh/d' Makefile
     sed -i '/shellspec -s yash/d' Makefile
-    '' + lib.strings.optionalString stdenvNoCC.isDarwin ''
+    '' + lib.strings.optionalString stdenvNoCC.hostPlatform.isDarwin ''
     sed -i "/shellspec -s 'busybox ash'/d" Makefile
   '';