1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Support registry entries that must match exactly

An example use is for pinning the "nixpkgs" entry the system-wide
registry to a particular store path. Inexact matches
(e.g. "nixpkgs/master") should still use the global registry.
This commit is contained in:
Eelco Dolstra 2020-04-01 23:12:45 +02:00
parent bd10a07d17
commit 74024515a3
2 changed files with 19 additions and 6 deletions

View file

@ -23,6 +23,7 @@ struct Registry
std::shared_ptr<const Input> from;
std::shared_ptr<const Input> to;
Attrs extraAttrs;
bool exact = false;
};
std::vector<Entry> entries;