Skip to content

Commit

Permalink
Merge #179682: pkgsMusl.colord: fix build (into staging)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jul 11, 2022
2 parents e1e0d5d + 46339db commit 8a0854d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/tools/misc/colord/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@
, ninja
, vala
, libgudev
, wrapGAppsHook
, wrapGAppsNoGuiHook
, shared-mime-info
, sane-backends
, docbook_xsl
, docbook_xsl_ns
, docbook_xml_dtd_412
, gtk-doc
, libxslt
, enableDaemon ? !stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isStatic
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
"-Dlibcolordcompat=true"
"-Dsane=true"
"-Dvapi=true"
"-Ddaemon=${lib.boolToString enableDaemon}"
"-Ddaemon_user=colord"
];

Expand All @@ -72,7 +74,7 @@ stdenv.mkDerivation rec {
pkg-config
shared-mime-info
vala
wrapGAppsHook
wrapGAppsNoGuiHook
];

buildInputs = [
Expand All @@ -83,10 +85,11 @@ stdenv.mkDerivation rec {
gusb
lcms2
libgudev
polkit
sane-backends
sqlite
systemd
] ++ lib.optionals enableDaemon [
polkit
];

postInstall = ''
Expand Down

0 comments on commit 8a0854d

Please sign in to comment.