diff options
author | Florian Klink <flokli@flokli.de> | 2020-06-03 22:17:42 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-06-03 22:25:01 +0200 |
commit | 3b1b4fde0cba48860c2db5dca0e39e6c3233a9c1 (patch) | |
tree | 2ca6ada4700168c0ed54eb6398eaf4cb943dcef7 /pkgs | |
parent | 51fd4ebc6ac7ebbe2ae1a785de955edbb816c9e8 (diff) |
systemd: systemd.pc: fix systemdsystemunitpath and systemduserunitpath
The paths in the generated `systemd.pc` were flipped, fix this: `systemdsystemunitpath`: `/nix/var/nix/profiles/default/lib/systemd/{user => system}` `systemduserunitpath`: `/nix/var/nix/profiles/default/lib/systemd/{system => user}` The paths actually used in the code (further below in that patch) were correct, so keep them there. Fixes #59473.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch b/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch index 23aa893362b5b..a9b60cbb2e20a 100644 --- a/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch +++ b/pkgs/os-specific/linux/systemd/0005-Add-some-NixOS-specific-unit-directories.patch @@ -24,8 +24,8 @@ index 8331832c7a..bedb97115d 100644 systemduserconfdir=${sysconfdir}/systemd/user -systemdsystemunitpath=${systemdsystemconfdir}:/etc/systemd/system:/run/systemd/system:/usr/local/lib/systemd/system:${systemdsystemunitdir}:/usr/lib/systemd/system:/lib/systemd/system -systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/run/systemd/user:/usr/local/lib/systemd/user:/usr/local/share/systemd/user:${systemduserunitdir}:/usr/lib/systemd/user:/usr/share/systemd/user -+systemdsystemunitpath=${systemdsystemconfdir}:/etc/systemd/system:/etc/systemd-mutable/system:/nix/var/nix/profiles/default/lib/systemd/user:/run/systemd/system:${systemdsystemunitdir} -+systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/etc/systemd-mutable/user:/nix/var/nix/profiles/default/lib/systemd/system:/run/systemd/user:${systemduserunitdir} ++systemdsystemunitpath=${systemdsystemconfdir}:/etc/systemd/system:/etc/systemd-mutable/system:/nix/var/nix/profiles/default/lib/systemd/system:/run/systemd/system:${systemdsystemunitdir} ++systemduserunitpath=${systemduserconfdir}:/etc/systemd/user:/etc/systemd-mutable/user:/nix/var/nix/profiles/default/lib/systemd/user:/run/systemd/user:${systemduserunitdir} systemdsystemgeneratordir=${rootprefix}/lib/systemd/system-generators systemdusergeneratordir=${prefix}/lib/systemd/user-generators systemdsystemgeneratorpath=/run/systemd/system-generators:/etc/systemd/system-generators:/usr/local/lib/systemd/system-generators:${systemdsystemgeneratordir} |