1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +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:
Eelco Dolstra 2022-03-01 11:29:19 +01:00
parent 9ab81a9d38
commit d974d2ad59
3 changed files with 2 additions and 4 deletions

View file

@ -162,7 +162,7 @@ public:
void allowPath(const StorePath & storePath);
/* Allow access to a store path and return it as a string. */
void allowAndSetStorePathString(const StorePath & storePath, Value &v);
void allowAndSetStorePathString(const StorePath & storePath, Value & v);
/* Check whether access to a path is allowed and throw an error if
not. Otherwise return the canonicalised path. */