prefix fetchTarball with builtins. too

For consistency/clarity.
This commit is contained in:
Charles Hall 2024-11-24 18:46:33 -08:00
parent 8c1dda128e
commit e44e6cf654
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -21,7 +21,7 @@ Afterwards, create a `default.nix` file containing the following:
lock = builtins.fromJSON (builtins.readFile ./flake.lock); lock = builtins.fromJSON (builtins.readFile ./flake.lock);
inherit (lock.nodes.flake-compat.locked) narHash rev url; inherit (lock.nodes.flake-compat.locked) narHash rev url;
in in
fetchTarball { builtins.fetchTarball {
url = "${url}/archive/${rev}.tar.gz"; url = "${url}/archive/${rev}.tar.gz";
sha256 = narHash; sha256 = narHash;
} }