15 lines
414 B
Nix
15 lines
414 B
Nix
let
|
|
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
node = lock.nodes.root.inputs.__flake-compat;
|
|
inherit (lock.nodes.${node}.locked) narHash rev url;
|
|
flake-compat = builtins.fetchTarball {
|
|
url = "${url}/archive/${rev}.tar.gz";
|
|
sha256 = narHash;
|
|
};
|
|
flake = import flake-compat {
|
|
src = ./.;
|
|
copySourceTreeToStore = false;
|
|
useBuiltinsFetchTree = true;
|
|
};
|
|
in
|
|
flake.inputs
|