mirror of
https://github.com/NixOS/nix.git
synced 2025-12-10 11:01:03 +01:00
* Don't use substitutes in addToStore().
This commit is contained in:
parent
06434072e7
commit
9df93f30bd
2 changed files with 21 additions and 15 deletions
|
|
@ -35,7 +35,8 @@ bool queryPathId(const string & path, FSId & id);
|
|||
substitute (since when we build the substitute, we would first try
|
||||
to expand the id... kaboom!). */
|
||||
string expandId(const FSId & id, const string & target = "",
|
||||
const string & prefix = "/", FSIdSet pending = FSIdSet());
|
||||
const string & prefix = "/", FSIdSet pending = FSIdSet(),
|
||||
bool ignoreSubstitutes = false);
|
||||
|
||||
/* Copy a file to the nixStore directory and register it in dbRefs.
|
||||
Return the hash code of the value. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue