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