mirror of
https://github.com/NixOS/nix.git
synced 2025-12-15 21:41:04 +01: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
|
|
@ -203,6 +203,8 @@ public:
|
|||
void registerDrvOutput(const Realisation & info, CheckSigsFlag checkSigs) override;
|
||||
void cacheDrvOutputMapping(State & state, const uint64_t deriver, const string & outputName, const StorePath & output);
|
||||
|
||||
std::optional<const Realisation> queryRealisation_(State & state, const DrvOutput & id);
|
||||
std::optional<std::pair<int64_t, Realisation>> queryRealisationCore_(State & state, const DrvOutput & id);
|
||||
std::optional<const Realisation> queryRealisation(const DrvOutput&) override;
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue