about summary refs log tree commit diff
path: root/pkgs/tools/nix/info/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/nix/info/default.nix')
-rw-r--r--pkgs/tools/nix/info/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/nix/info/default.nix b/pkgs/tools/nix/info/default.nix
index 73c336afe045..7b29f9c43c9a 100644
--- a/pkgs/tools/nix/info/default.nix
+++ b/pkgs/tools/nix/info/default.nix
@@ -9,8 +9,8 @@ stdenv.mkDerivation {
 
   path = lib.makeBinPath ([
     coreutils findutils gnugrep
-  ] ++ (lib.optionals stdenv.isDarwin [ darwin.DarwinTools ]));
-  is_darwin = if stdenv.isDarwin then "yes" else "no";
+  ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ darwin.DarwinTools ]));
+  is_darwin = if stdenv.hostPlatform.isDarwin then "yes" else "no";
 
   sandboxtest = ./sandbox.nix;
   relaxedsandboxtest = ./relaxedsandbox.nix;