diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-01 23:12:45 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-01 23:12:45 +0200 |
commit | 74024515a306a382f11058d4320b80897ebe09a0 (patch) | |
tree | 264e611503809354a1428f7f40425e80ce88a088 /src/libfetchers/registry.hh | |
parent | bd10a07d17161fb4a4e1af5aa365b23d405a5216 (diff) |
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.
Diffstat (limited to 'src/libfetchers/registry.hh')
-rw-r--r-- | src/libfetchers/registry.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libfetchers/registry.hh b/src/libfetchers/registry.hh index 722c41b10..c3ce948a8 100644 --- a/src/libfetchers/registry.hh +++ b/src/libfetchers/registry.hh @@ -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; |