9 lines
245 B
Nix
9 lines
245 B
Nix
|
let
|
||
|
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
|
||
|
inherit (lock.nodes.nixpkgs.locked) owner repo rev narHash;
|
||
|
in
|
||
|
fetchTarball {
|
||
|
url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
|
||
|
sha256 = narHash;
|
||
|
}
|