dmtx-utils: fix darwin build (#123033)
This commit is contained in:
parent
4bfa8bdd46
commit
bb24db68aa
|
@ -5,6 +5,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libdmtx
|
, libdmtx
|
||||||
, imagemagick
|
, imagemagick
|
||||||
|
, Foundation
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -20,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ libdmtx imagemagick ];
|
buildInputs = [ libdmtx imagemagick ]
|
||||||
|
++ lib.optional stdenv.isDarwin Foundation;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Data matrix command-line utilities";
|
description = "Data matrix command-line utilities";
|
||||||
|
|
|
@ -22794,7 +22794,8 @@ in
|
||||||
|
|
||||||
dmrconfig = callPackage ../applications/radio/dmrconfig { };
|
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 {})
|
inherit (callPackage ../applications/virtualization/docker {})
|
||||||
|
|
Loading…
Reference in New Issue