diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-14 23:34:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 17:34:07 -0400 |
commit | bb24db68aa3828c19d89e45e5931a4fe271f3c11 (patch) | |
tree | 393a3f56f0f5789ba5f324f218b490d165c6c49d /pkgs/tools/graphics/dmtx-utils | |
parent | 4bfa8bdd466d8d39025632b14b78b43f7fc364ed (diff) | |
download | nixpkgs-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.nix | 4 |
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"; |