mirror of
https://github.com/NixOS/nix.git
synced 2025-12-12 20:11:03 +01:00
Use PathReferences more widely
This commit is contained in:
parent
dae4409071
commit
f8d562c0a7
29 changed files with 431 additions and 205 deletions
|
|
@ -17,6 +17,9 @@ struct NarInfo : ValidPathInfo
|
|||
std::string system;
|
||||
|
||||
NarInfo() = delete;
|
||||
NarInfo(const Store & store, StorePathDescriptor && ca, Hash narHash)
|
||||
: ValidPathInfo(store, std::move(ca), narHash)
|
||||
{ }
|
||||
NarInfo(StorePath && path, Hash narHash) : ValidPathInfo(std::move(path), narHash) { }
|
||||
NarInfo(const ValidPathInfo & info) : ValidPathInfo(info) { }
|
||||
NarInfo(const Store & store, const std::string & s, const std::string & whence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue