summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-03-13 21:44:51 +0100
committerVladimír Čunát <vcunat@gmail.com>2014-03-13 21:44:51 +0100
commitd6349df0dd5d6ff26cb882ea7b2451fdb832ae6f (patch)
tree8a70f4b3f8e5815ec0b99338802e1187c5f3ae73 /pkgs/tools/misc
parent344f2e6518ebcc1d07cff19df49ed2f960680087 (diff)
downloadnixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar.gz
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar.bz2
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar.lz
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar.xz
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.tar.zst
nixlib-d6349df0dd5d6ff26cb882ea7b2451fdb832ae6f.zip
put systemd unit dirs on the right place
Also see #1936.
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/colord/default.nix6
-rw-r--r--pkgs/tools/misc/system-config-printer/default.nix2
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/misc/colord/default.nix b/pkgs/tools/misc/colord/default.nix
index 525c3ba9f2c4..a744adbe05c1 100644
--- a/pkgs/tools/misc/colord/default.nix
+++ b/pkgs/tools/misc/colord/default.nix
@@ -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 ];
diff --git a/pkgs/tools/misc/system-config-printer/default.nix b/pkgs/tools/misc/system-config-printer/default.nix
index b0da497c322e..51cb1d22a49e 100644
--- a/pkgs/tools/misc/system-config-printer/default.nix
+++ b/pkgs/tools/misc/system-config-printer/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
 
   configureFlags =
     [ "--with-udev-rules"
-      "--with-systemdsystemunitdir=$(out)/etc/systemd/systemd"
+      "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
     ];
 
   postInstall =