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.)

(cherry picked from commit a774af3605a86719f813ccb80e9f8a5bdef2ee0a)
This commit is contained in:
Eduard Bachmakov 2021-09-29 17:18:19 +02:00 committed by github-actions[bot]
parent 7daf35532d
commit 336da77eac
1 changed files with 1 additions and 1 deletions

View File

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