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
+15 -9
View File
@@ -1,9 +1,15 @@
(import (
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
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 = ./.; }).defaultNix
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.defaultNix