chore: replace edolstra/flake-compat with lix-project/flake-compat

Change-Id: Ia7409ecb2f61d1ff6c8c4031025226e8549b22b6
This commit is contained in:
Pol Dellaiera
2026-01-20 12:31:41 +00:00
parent eca222c7ca
commit 7009944370
4 changed files with 36 additions and 26 deletions
+13 -7
View File
@@ -1,9 +1,15 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
shell =
(import (fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}) { src = ./.; }).shellNix;
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
shell.default // shell.devShells.${builtins.currentSystem}
flake.shellNix