+36
−0
Loading
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)