diff options
| author | Naïm Favier <n@monade.li> | 2023-01-02 01:41:29 +0100 |
|---|---|---|
| committer | Naïm Favier <n@monade.li> | 2023-01-02 01:41:29 +0100 |
| commit | 37e42d01a025b4b80f20cff18a3641451a1d947d (patch) | |
| tree | a51c59b478e530f60ddb7cb89ba4b635d670e047 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 5a9a3353342fc2a964c58f91ef8cbb19585c3af8 (diff) | |
nixos/etc: skip resolv.conf in nixos-enter chroot
nixos-enter sets up /etc/resolv.conf as a bind mount from the host
system, so trying to activate a system that sets
`environment.etc."resolv.conf"` (e.g. with systemd-resolved enabled)
results in an unhelpful warning.
Skip linking /etc/resolv.conf if we're in a nixos-enter environment, as
determined by the IN_NIXOS_ENTER environment variable.
Make the warnings more helpful, indicating which file we failed to link.
Unlink temporary files in case of failure.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
