mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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.)
This commit is contained in:
parent
9560baeb59
commit
a774af3605
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue