Merge #179682: pkgsMusl.colord: fix build (into staging)
This commit is contained in:
commit
8a0854d4b0
@ -18,7 +18,7 @@
|
||||
, ninja
|
||||
, vala
|
||||
, libgudev
|
||||
, wrapGAppsHook
|
||||
, wrapGAppsNoGuiHook
|
||||
, shared-mime-info
|
||||
, sane-backends
|
||||
, docbook_xsl
|
||||
@ -26,6 +26,7 @@
|
||||
, docbook_xml_dtd_412
|
||||
, gtk-doc
|
||||
, libxslt
|
||||
, enableDaemon ? !stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isStatic
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dlibcolordcompat=true"
|
||||
"-Dsane=true"
|
||||
"-Dvapi=true"
|
||||
"-Ddaemon=${lib.boolToString enableDaemon}"
|
||||
"-Ddaemon_user=colord"
|
||||
];
|
||||
|
||||
@ -72,7 +74,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
shared-mime-info
|
||||
vala
|
||||
wrapGAppsHook
|
||||
wrapGAppsNoGuiHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -83,10 +85,11 @@ stdenv.mkDerivation rec {
|
||||
gusb
|
||||
lcms2
|
||||
libgudev
|
||||
polkit
|
||||
sane-backends
|
||||
sqlite
|
||||
systemd
|
||||
] ++ lib.optionals enableDaemon [
|
||||
polkit
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user