about summary refs log tree commit diff
path: root/pkgs/by-name/sa/salmon/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sa/salmon/package.nix')
-rw-r--r--pkgs/by-name/sa/salmon/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sa/salmon/package.nix b/pkgs/by-name/sa/salmon/package.nix
index 09a2fec4c257..bfc12deedd6b 100644
--- a/pkgs/by-name/sa/salmon/package.nix
+++ b/pkgs/by-name/sa/salmon/package.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
     tbb_2021_11
     xz
     zlib
-  ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   nativeBuildInputs = [ cmake pkg-config ];