Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

colord: fix udev rules, add sane support

(cherry picked from commit cf9ddb27d6aa53826f7191cbddb561a05554018c)

authored by Nikolay Amiantov and committed by Bjørn Forsman d445ad75 f4aa57ac

+4 -3
+4 -3
pkgs/tools/misc/colord/default.nix
··· 1 1 { stdenv, fetchzip, fetchgit, bashCompletion 2 2 , glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus 3 3 , automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms 4 - , libgudev }: 4 + , libgudev, sane-backends }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "colord-1.2.12"; ··· 14 14 enableParallelBuilding = true; 15 15 16 16 configureFlags = [ 17 - "--with-udevrulesdir=$out/lib/udev/rules.d" 17 + "--enable-sane" 18 + "--with-udevrulesdir=$(out)/lib/udev/rules.d" 18 19 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 19 20 "--localstatedir=/var" 20 21 "--disable-bash-completion" ··· 27 28 ''; 28 29 29 30 buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection 30 - bashCompletion argyllcms automake autoconf libgudev ]; 31 + bashCompletion argyllcms automake autoconf libgudev sane-backends ]; 31 32 32 33 postInstall = '' 33 34 mkdir -p $out/etc/bash_completion.d