@@ -12,7 +12,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = "--with-udevrulesdir=$out/lib/udev/rules.d --with-systemdsystemunitdir=$out/lib/udev/rules.d --disable-bash-completion";
|
||||
configureFlags = [
|
||||
"--with-udevrulesdir=$out/lib/udev/rules.d"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--disable-bash-completion"
|
||||
];
|
||||
|
||||
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
|
||||
bashCompletion ];
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags =
|
||||
[ "--with-udev-rules"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
|
||||
@@ -12,13 +12,10 @@ stdenv.mkDerivation rec {
|
||||
# The OS should care on preparing the drivers into this location
|
||||
configureFlags = [
|
||||
"--enable-usbdropdir=/var/lib/pcsc/drivers"
|
||||
"--with-systemdsystemunitdir=$out/lib/systemd/system" # probably
|
||||
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
|
||||
"--enable-confdir=$(out)/etc"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --enable-confdir=$out/etc"
|
||||
'';
|
||||
|
||||
buildInputs = [ udev dbus_libs perl ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
Reference in New Issue
Block a user