mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
fetch{url,Tarball}: Remove 'narHash' attribute
This was introduced in #6174. However fetch{url,Tarball} are legacy and we shouldn't have an undocumented attribute that does the same thing as one that already exists ('sha256').
This commit is contained in:
parent
9ab81a9d38
commit
d974d2ad59
3 changed files with 2 additions and 4 deletions
|
@ -517,7 +517,7 @@ void EvalState::allowPath(const StorePath & storePath)
|
|||
allowedPaths->insert(store->toRealPath(storePath));
|
||||
}
|
||||
|
||||
void EvalState::allowAndSetStorePathString(const StorePath &storePath, Value &v)
|
||||
void EvalState::allowAndSetStorePathString(const StorePath &storePath, Value & v)
|
||||
{
|
||||
allowPath(storePath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue