about summary refs log tree commit diff
path: root/src/store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-01T09·01+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-01T09·01+0000
commit9df93f30bda81ffa3cf040c146347e02d3a56666 (patch)
treeb1dea53b8b6fe191d2624a0c6cff144f240e96f5 /src/store.hh
parent06434072e7860f2eaac9581e979801b7b3493a1e (diff)
* Don't use substitutes in addToStore().
Diffstat (limited to 'src/store.hh')
-rw-r--r--src/store.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/store.hh b/src/store.hh
index b2cdc41f166e..d1f1be6689ed 100644
--- a/src/store.hh
+++ b/src/store.hh
@@ -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. */