fix: fetchTree & fetchTarball

This commit is contained in:
2026-01-15 12:16:46 +08:00
parent e676d2f9f4
commit 4f8edab795
7 changed files with 249 additions and 19 deletions

15
shell.nix Normal file
View File

@@ -0,0 +1,15 @@
let
lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat};
flake-compat = builtins.fetchTarball {
inherit (flake-compat-node.locked) url;
sha256 = flake-compat-node.locked.narHash;
};
flake = (
import flake-compat {
src = ./.;
}
);
in
flake.shellNix