dmtx-utils: fix darwin build (#123033)
This commit is contained in:
parent
4bfa8bdd46
commit
bb24db68aa
2 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -22794,7 +22794,8 @@ in
|
|||
|
||||
dmrconfig = callPackage ../applications/radio/dmrconfig { };
|
||||
|
||||
dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
|
||||
dmtx-utils = callPackage ../tools/graphics/dmtx-utils {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
inherit (callPackage ../applications/virtualization/docker {})
|
||||
|
|
Loading…
Reference in a new issue