about summary refs log tree commit diff
path: root/pkgs/tools/graphics/barcode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/barcode/default.nix')
-rw-r--r--pkgs/tools/graphics/barcode/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/barcode/default.nix b/pkgs/tools/graphics/barcode/default.nix
index 9eb368b83af6..6199a87925d3 100644
--- a/pkgs/tools/graphics/barcode/default.nix
+++ b/pkgs/tools/graphics/barcode/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
     })
   ];
 
-  configureFlags = lib.optional stdenv.isDarwin "ac_cv_func_calloc_0_nonnull=yes";
+  configureFlags = lib.optional stdenv.hostPlatform.isDarwin "ac_cv_func_calloc_0_nonnull=yes";
 
   hardeningDisable = [ "format" ];