mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 19:51:00 +01:00
* Sync with thesis: do not include store location in the hash
computation (in the intensional model).
This commit is contained in:
parent
1c9df27fe0
commit
8fae552a7f
1 changed files with 2 additions and 3 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue