put systemd unit dirs on the right place

Also see #1936.
This commit is contained in:
Vladimír Čunát
2014-03-13 21:44:51 +01:00
parent 344f2e6518
commit d6349df0dd
6 changed files with 11 additions and 10 deletions
+2 -5
View File
@@ -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 ];