mirror of
https://github.com/NixOS/nix
synced 2025-07-02 09:21:47 +02:00
Merge commit 'd5cef6c33a
' into ca-drv-exotic
This commit is contained in:
commit
386765e3ff
35 changed files with 502 additions and 216 deletions
|
@ -588,14 +588,6 @@ std::map<std::string, Hash> staticOutputHashes(Store& store, const Derivation& d
|
|||
}
|
||||
|
||||
|
||||
std::string StorePathWithOutputs::to_string(const Store & store) const
|
||||
{
|
||||
return outputs.empty()
|
||||
? store.printStorePath(path)
|
||||
: store.printStorePath(path) + "!" + concatStringsSep(",", outputs);
|
||||
}
|
||||
|
||||
|
||||
bool wantOutput(const string & output, const std::set<string> & wanted)
|
||||
{
|
||||
return wanted.empty() || wanted.find(output) != wanted.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue