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
let lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
lock = builtins.fromJSON (builtins.readFile ./flake.lock); flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat};
in flake-compat = builtins.fetchTarball {
fetchTarball { inherit (flake-compat-node.locked) url;
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; sha256 = flake-compat-node.locked.narHash;
sha256 = lock.nodes.flake-compat.locked.narHash; };
}
) { src = ./.; }).defaultNix flake = (
import flake-compat {
src = ./.;
}
);
in
flake.defaultNix
Generated
+7 -9
View File
@@ -3,17 +3,15 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1751685974,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=",
"owner": "edolstra", "rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1",
"repo": "flake-compat", "type": "tarball",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "url": "https://git.lix.systems/api/v1/repos/lix-project/flake-compat/archive/549f2762aebeff29a2e5ece7a7dc0f955281a1d1.tar.gz"
"type": "github"
}, },
"original": { "original": {
"owner": "edolstra", "type": "tarball",
"repo": "flake-compat", "url": "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz"
"type": "github"
} }
}, },
"lowdown-src": { "lowdown-src": {
+1 -1
View File
@@ -24,7 +24,7 @@
flake = false; flake = false;
}; };
flake-compat = { flake-compat = {
url = "github:edolstra/flake-compat"; url = "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz";
flake = false; flake = false;
}; };
}; };
+13 -7
View File
@@ -1,9 +1,15 @@
let let
lock = builtins.fromJSON (builtins.readFile ./flake.lock); lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
shell = flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat};
(import (fetchTarball { flake-compat = builtins.fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; inherit (flake-compat-node.locked) url;
sha256 = lock.nodes.flake-compat.locked.narHash; sha256 = flake-compat-node.locked.narHash;
}) { src = ./.; }).shellNix; };
flake = (
import flake-compat {
src = ./.;
}
);
in in
shell.default // shell.devShells.${builtins.currentSystem} flake.shellNix