about summary refs log tree commit diff
path: root/pkgs/by-name/sg/sgfutils/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sg/sgfutils/package.nix')
-rw-r--r--pkgs/by-name/sg/sgfutils/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sg/sgfutils/package.nix b/pkgs/by-name/sg/sgfutils/package.nix
index f82bc4e59a6a..586a3ab1e096 100644
--- a/pkgs/by-name/sg/sgfutils/package.nix
+++ b/pkgs/by-name/sg/sgfutils/package.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation
     hash = "sha256-KWYgTxz32WK3MKouj1WAJtZmleKt5giCpzQPwfWruZQ=";
   };
   nativeBuildInputs = [ makeWrapper ];
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
   buildPhase = ''
     runHook preBuild
     make all