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

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
"--without-powerman" # Until we have it ...
"--without-cgi"
"--without-hal"
"--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
"--with-udev-dir=$(out)/etc/udev"
];

View file

@ -56,7 +56,7 @@ let
"--localstatedir=/var"
"--sysconfdir=/etc"
"--with-session-socket-dir=/tmp"
"--with-systemdsystemunitdir=$(out)/lib/systemd"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
enableParallelBuilding = true;

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--localstatedir=/var"
"--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
"--with-udevdir=$(out)/lib/udev"
];

View file

@ -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 ];

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
configureFlags =
[ "--with-udev-rules"
"--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
postInstall =

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 ];