1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 00:06:26 -04:00

skip unnecessary connective

Co-authored-by: Olivia Crain <olivia@olivia.dev>
This commit is contained in:
Valentin Gagarin 2024-02-06 07:19:03 +01:00 committed by GitHub
parent 56b3bca399
commit 50d4df4635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,7 +86,7 @@ It takes the URL to the file and a [SHA256 hash](https://en.wikipedia.org/wiki/S
The hash cannot be known until after the tarball has been downloaded and unpacked. The hash cannot be known until after the tarball has been downloaded and unpacked.
Nix will complain if the hash supplied to `fetchzip` is incorrect. Nix will complain if the hash supplied to `fetchzip` is incorrect.
So it is common practice to supply a fake one with `lib.fakeSha256` and change the derivation definition after Nix reports the correct hash: It is common practice to supply a fake one with `lib.fakeSha256` and change the derivation definition after Nix reports the correct hash:
```nix ```nix
# hello.nix # hello.nix