about summary refs log tree commit diff
path: root/pkgs/development/libraries/qrencode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/qrencode/default.nix')
-rw-r--r--pkgs/development/libraries/qrencode/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qrencode/default.nix b/pkgs/development/libraries/qrencode/default.nix
index 237751c6f8f2..8a52fce9c74a 100644
--- a/pkgs/development/libraries/qrencode/default.nix
+++ b/pkgs/development/libraries/qrencode/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation (finalAttrs: rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ libiconv libpng ]
-    ++ lib.optionals stdenv.isDarwin [ libobjc ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libobjc ];
 
   nativeCheckInputs = [ SDL2 ];