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:
parent
bd10a07d17
commit
74024515a3
2 changed files with 19 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue