fix: move to lix flake-compat?

This commit is contained in:
Kat Inskip 2025-07-27 14:00:18 -07:00
parent e4533d1200
commit 8d64a966ec
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 13 additions and 9 deletions

View file

@ -1,11 +1,15 @@
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
flakeCompat = fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
};
kittywitch = import flakeCompat {
src = ./.;
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
kittywitch.defaultNix
flake.defaultNix

View file

@ -47,7 +47,7 @@
};
# to allow non-nix 2.4 evaluation
flake-compat = {
url = "github:edolstra/flake-compat";
url = "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz";
flake = false;
};
rbw-bitw = {