nix/util/inputs.nix
2025-07-20 23:50:00 +10:00

15 lines
416 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