mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Fix flag registry order
This commit is contained in:
parent
e6109ec765
commit
35d1c95f7f
3 changed files with 8 additions and 4 deletions
|
@ -146,7 +146,7 @@ std::shared_ptr<FlakeRegistry> getFlagRegistry()
|
|||
return std::make_shared<FlakeRegistry>();
|
||||
}
|
||||
|
||||
// This always returns a vector with flakeRef, userReg, globalReg.
|
||||
// This always returns a vector with flakeReg, userReg, globalReg.
|
||||
// If one of them doesn't exist, the registry is left empty but does exist.
|
||||
const Registries EvalState::getFlakeRegistries()
|
||||
{
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
static const size_t FLAG_REGISTRY = 0;
|
||||
static const size_t USER_REGISTRY = 1;
|
||||
static const size_t GLOBAL_REGISTRY = 2;
|
||||
|
||||
struct Value;
|
||||
class EvalState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue