diff options
| author | emilylange <git@emilylange.de> | 2023-11-01 14:16:59 +0100 |
|---|---|---|
| committer | emilylange <git@emilylange.de> | 2023-11-02 01:18:46 +0100 |
| commit | 6c7ad5e732428a4e8063144312d77544a867e08c (patch) | |
| tree | 26defe4c7ec61a28be39d97e6914b404ffd03313 /pkgs/development/python-modules/rangehttpserver | |
| parent | 90b0f71e5dde473bff380aa1776015da194556bd (diff) | |
nixos/systemd-lib: fix building of empty unit files
This is a fixup for c1ae82f448b10b278dc77e02518775175b463a27.
nix' `passAsFile` does not create empty files for variables that are
`null`.
This results in the following error for units that have no overrides or
content, but are, e.g. `wantedBy`:
`mv: cannot stat '': No such file or directory`.
Minimal reproducer:
`systemd.units.empty.wantedBy = [ "multi-user.target" ];`
This is often necessary when a unit is loaded in via `systemd.packages`.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
