switch to flakes + lix flake-compat

This commit is contained in:
atagen 2025-07-20 14:00:31 +10:00
parent 1626d24aed
commit 1485af5689
5 changed files with 112 additions and 40 deletions

15
inputs.nix Normal file
View file

@ -0,0 +1,15 @@
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