mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
* build.cc: only use a substituter if it returns info for a path.
This commit is contained in:
parent
5b1052663a
commit
5adbb0aabe
3 changed files with 60 additions and 54 deletions
|
|
@ -86,6 +86,9 @@ public:
|
|||
bool querySubstitutablePathInfo(const Path & path,
|
||||
SubstitutablePathInfo & info);
|
||||
|
||||
bool querySubstitutablePathInfo(const Path & substituter,
|
||||
const Path & path, SubstitutablePathInfo & info);
|
||||
|
||||
Path addToStore(const Path & srcPath, bool fixed = false,
|
||||
bool recursive = false, string hashAlgo = "",
|
||||
PathFilter & filter = defaultPathFilter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue