Refactor the lockfile fixup to utilize serde based structs for deserializing the lockfile.
In the future this would also enable re-serializing the lockfile to do overrides.
This needs a check to make sure this does not break any existing FODs, i don't think it would, but better be sure.
Things done
Built on platform(s)
[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
Description of changes
Refactor the lockfile fixup to utilize serde based structs for deserializing the lockfile. In the future this would also enable re-serializing the lockfile to do overrides.
This needs a check to make sure this does not break any existing FODs, i don't think it would, but better be sure.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a :+1: reaction to pull requests you find important.