1
1
Fork 0
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:
Eelco Dolstra 2008-08-04 13:15:35 +00:00
parent 5b1052663a
commit 5adbb0aabe
3 changed files with 60 additions and 54 deletions

View file

@ -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);