mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Properly fail when trying to register an incoherent realisation
This commit is contained in:
parent
a5df669bc6
commit
b8f7177a7b
4 changed files with 107 additions and 39 deletions
|
@ -47,6 +47,8 @@ struct Realisation {
|
|||
static std::set<Realisation> closure(Store &, const std::set<Realisation> &);
|
||||
static void closure(Store &, const std::set<Realisation> &, std::set<Realisation>& res);
|
||||
|
||||
bool isCompatibleWith(const Realisation & other) const;
|
||||
|
||||
StorePath getPath() const { return outPath; }
|
||||
|
||||
GENERATE_CMP(Realisation, me->id, me->outPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue