summary refs log tree commit diff
path: root/pkgs/tools/graphics/dmtx-utils
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-14 23:34:07 +0200
committerGitHub <noreply@github.com>2021-05-14 17:34:07 -0400
commitbb24db68aa3828c19d89e45e5931a4fe271f3c11 (patch)
tree393a3f56f0f5789ba5f324f218b490d165c6c49d /pkgs/tools/graphics/dmtx-utils
parent4bfa8bdd466d8d39025632b14b78b43f7fc364ed (diff)
downloadnixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar.gz
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar.bz2
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar.lz
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar.xz
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.tar.zst
nixpkgs-bb24db68aa3828c19d89e45e5931a4fe271f3c11.zip
dmtx-utils: fix darwin build (#123033)
Diffstat (limited to 'pkgs/tools/graphics/dmtx-utils')
-rw-r--r--pkgs/tools/graphics/dmtx-utils/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/dmtx-utils/default.nix b/pkgs/tools/graphics/dmtx-utils/default.nix
index 4ab54593ed8..f4cc746a24f 100644
--- a/pkgs/tools/graphics/dmtx-utils/default.nix
+++ b/pkgs/tools/graphics/dmtx-utils/default.nix
@@ -5,6 +5,7 @@
 , pkg-config
 , libdmtx
 , imagemagick
+, Foundation
 }:
 
 stdenv.mkDerivation rec {
@@ -20,7 +21,8 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
-  buildInputs = [ libdmtx imagemagick ];
+  buildInputs = [ libdmtx imagemagick ]
+    ++ lib.optional stdenv.isDarwin Foundation;
 
   meta = {
     description = "Data matrix command-line utilities";