1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Co-authored-by: Olivia Crain <olivia@olivia.dev>
This commit is contained in:
Valentin Gagarin 2024-02-02 01:30:14 +01:00 committed by GitHub
parent fdc012f8a7
commit b6202cbbbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,7 +77,7 @@ stdenv.mkDerivation {
```
Next, you will declare a dependency the [latest version](https://ftp.gnu.org/gnu/hello/hello-2.12.1.tar.gz) of `hello` and instruct Nix to use `fetchzip`.
Next, you will declare a dependency on the [latest version](https://ftp.gnu.org/gnu/hello/hello-2.12.1.tar.gz) of `hello` and instruct Nix to use `fetchzip`.
It takes the URL to the file and a [SHA256 hash](https://en.wikipedia.org/wiki/SHA-2) of its contents.
:::{note}