From a774af3605a86719f813ccb80e9f8a5bdef2ee0a Mon Sep 17 00:00:00 2001 From: Eduard Bachmakov Date: Wed, 29 Sep 2021 17:18:19 +0200 Subject: [PATCH] psi-notify: move systemd unit to $out/lib In $out/share it is NOT picked up into /etc/systemd/... when psi-notify is added to configuration.systemd.packages . (Originally put in $out/share b/c a hook copies from $out/lib into there ... so why not just put there? This is why.) --- pkgs/applications/misc/psi-notify/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/psi-notify/default.nix b/pkgs/applications/misc/psi-notify/default.nix index 5a4b6f385df..9e4dcd783b7 100644 --- a/pkgs/applications/misc/psi-notify/default.nix +++ b/pkgs/applications/misc/psi-notify/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { install -D psi-notify $out/bin/psi-notify substituteInPlace psi-notify.service --replace psi-notify $out/bin/psi-notify - install -D psi-notify.service $out/share/systemd/user/psi-notify.service + install -D psi-notify.service $out/lib/systemd/user/psi-notify.service runHook postInstall '';