about summary refs log tree commit diff
path: root/pkgs/tools/graphics/dmtx-utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/dmtx-utils/default.nix')
-rw-r--r--pkgs/tools/graphics/dmtx-utils/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/dmtx-utils/default.nix b/pkgs/tools/graphics/dmtx-utils/default.nix
index f03f38742e19..4c5883d56804 100644
--- a/pkgs/tools/graphics/dmtx-utils/default.nix
+++ b/pkgs/tools/graphics/dmtx-utils/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
   buildInputs = [ libdmtx imagemagick ]
-    ++ lib.optional stdenv.isDarwin Foundation;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Foundation;
 
   meta = {
     description = "Data matrix command-line utilities";