about summary refs log tree commit diff
path: root/pkgs/by-name/ni/nix-top/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ni/nix-top/package.nix')
-rw-r--r--pkgs/by-name/ni/nix-top/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ni/nix-top/package.nix b/pkgs/by-name/ni/nix-top/package.nix
index 55170ec40896..fa69693781e0 100644
--- a/pkgs/by-name/ni/nix-top/package.nix
+++ b/pkgs/by-name/ni/nix-top/package.nix
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
       wrapProgram $out/bin/nix-top \
         --prefix PATH : "$out/libexec/nix-top:${additionalPath}"
     ''
-    + lib.optionalString stdenv.isDarwin ''
+    + lib.optionalString stdenv.hostPlatform.isDarwin ''
       ln -s /bin/stty $out/libexec/nix-top
     ''
     + ''