flake.nix: expose the patched nixpkgs as an output, for debugging

This commit is contained in:
Colin 2023-12-12 09:19:10 +00:00
parent 6395e60f17
commit 322038ca21
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,8 @@
hostPkgs = mapAttrValues (host: host.config.system.build.pkgs) self.nixosConfigurations;
hostPrograms = mapAttrValues (host: mapAttrValues (p: p.package) host.config.sane.programs) self.nixosConfigurations;
patched.nixpkgs = nixpkgs';
overlays = {
# N.B.: `nix flake check` requires every overlay to take `final: prev:` at defn site,
# hence the weird redundancy.