prefix fetchTarball
with builtins.
too
For consistency/clarity.
This commit is contained in:
parent
8c1dda128e
commit
e44e6cf654
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue