diff options
| author | Florian Klink <flokli@flokli.de> | 2021-02-05 00:06:17 +0100 |
|---|---|---|
| committer | Florian Klink <flokli@flokli.de> | 2021-02-12 12:53:20 +0100 |
| commit | 24174216153b0cf3e3abbaf8f8b5abe556dac4f8 (patch) | |
| tree | b65cd117e025c13b1412db1ccaaff10c0422435a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | e373b423c7ec60dfe5df08c0f1321c285130ec09 (diff) | |
setupSystemdUnits: use /nix/var/nix/profiles/default/lib/systemd/system as fallback
The previous commit stopped systemd from looking for system units in
/etc/systemd-mutable/system, which was a Dysnomia-specific path.
While this script doesn't seem to be used anywhere inside nixpkgs (also
not in the gone-since #110799 Dysnomia), its fallback mode (when
/etc/systemd/system is read-only) did write units to that
Dysnomia-specific path, which systemd now doesn't look at anymore.
It might be up for another debate on whether systems with read-only
/etc/systemd/system should probably just use /run/systemd/system, and
not some NixOS-specific paths, as such conditions can happen on other
distros too, but let's pick the other NixOS-specific path
/nix/var/nix/profiles/default/lib/systemd/system for now, which is
probably better than a path that surely is never looked at.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
