diff options
| author | r-vdp <ramses@well-founded.dev> | 2026-01-07 18:36:21 +0200 |
|---|---|---|
| committer | r-vdp <ramses@well-founded.dev> | 2026-01-09 11:59:26 +0200 |
| commit | 3408d1a4a96e4884d00b339b5d1995b0916b44a2 (patch) | |
| tree | f503195c3a4ceb8c27f750b967d282d700d739cc /pkgs/development/python-modules/rangehttpserver | |
| parent | 442f04659b093255da8a5a98eb854cb2f9ec203f (diff) | |
nixos/switchable-system: improve switch inhibitors
Improvements:
1. Turn the nix value into an attrset so that every inhibitor has a name
that we can match between generations
2. Write the attrset to a file as JSON
3. When checking, we load the JSON files from both the current and the
new generation into a jq pipeline and match up the keys.
We output a dict with a value for every key that is present in both
generations with a different value.
4. Build in error handling for different corner cases (missing files,
non-JSON content)
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
