* Sync with thesis: do not include store location in the hash

computation (in the intensional model).
This commit is contained in:
Eelco Dolstra 2005-07-25 07:37:46 +00:00
parent 1c9df27fe0
commit 8fae552a7f

View File

@ -758,9 +758,8 @@ void makeStorePath(const Hash & contentHash, const string & suffix,
{
checkStoreName(suffix);
/* e.g., "sha256:1abc...:/nix/store:foo.tar.gz" */
string s = "sha256:" + printHash(contentHash) + ":"
+ nixStore + ":" + suffix;
/* e.g., "sha256:1abc...:foo.tar.gz" */
string s = "sha256:" + printHash(contentHash) + ":" + suffix;
pathHash = PathHash(hashString(htSHA256, s));