summary refs log tree commit diff
path: root/pkgs/tools/misc/rauc
diff options
context:
space:
mode:
authorLars Pöschel <poeschell+nixos@mailbox.org>2021-07-06 09:48:07 +0200
committerLars Pöschel <poeschell+nixos@mailbox.org>2021-07-06 09:48:07 +0200
commit3e92c6bec061407519d7c35cbb9b678eada57971 (patch)
treec15ab09856050a14aad0094f36773603ca4e7a1f /pkgs/tools/misc/rauc
parent8eece9104370f5397b8d2e2a15129b77146589bb (diff)
rauc: Provide systemd service file
The rauc daemon could not be started because the systemd service file
was missing. This also prevented the DBus Interface to be usable.
We now provide the standard service file from rauc.
Diffstat (limited to 'pkgs/tools/misc/rauc')
-rw-r--r--pkgs/tools/misc/rauc/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rauc/default.nix b/pkgs/tools/misc/rauc/default.nix
index 663768c1507c5..41183a2f6e1e3 100644
--- a/pkgs/tools/misc/rauc/default.nix
+++ b/pkgs/tools/misc/rauc/default.nix
@@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ curl dbus glib json-glib openssl ];
 
   configureFlags = [
+    "--with-systemdunitdir=${placeholder "out"}/lib/systemd/system"
     "--with-dbusinterfacesdir=${placeholder "out"}/share/dbus-1/interfaces"
     "--with-dbuspolicydir=${placeholder "out"}/share/dbus-1/systemd.d"
     "--with-dbussystemservicedir=${placeholder "out"}/share/dbus-1/system-services"