Merge #179682: pkgsMusl.colord: fix build (into staging)

This commit is contained in:
Vladimír Čunát 2022-07-11 13:10:26 +02:00
commit 8a0854d4b0
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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 = ''