tangled
alpha
login
or
join now
althaea.zone
/
wire
2
fork
atom
ALPHA: wire is a tool to deploy nixos systems
wire.althaea.zone/
2
fork
atom
overview
issues
pulls
pipelines
switch flake compat to lix flake-compat
marshmallow
5 months ago
3787830a
d539a4a2
+23
-22
3 changed files
expand all
collapse all
unified
split
default.nix
flake.lock
flake.nix
+15
-12
default.nix
···
1
1
-
(import (
2
2
-
let
3
3
-
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
4
4
-
nodeName = lock.nodes.root.inputs.flake-compat;
5
5
-
in
6
6
-
fetchTarball {
7
7
-
url =
8
8
-
lock.nodes.${nodeName}.locked.url
9
9
-
or "https://github.com/edolstra/flake-compat/archive/${lock.nodes.${nodeName}.locked.rev}.tar.gz";
10
10
-
sha256 = lock.nodes.${nodeName}.locked.narHash;
11
11
-
}
12
12
-
) { src = ./.; }).defaultNix
1
1
+
let
2
2
+
lockFile = builtins.fromJSON (builtins.readFile ./flake.lock);
3
3
+
flake-compat-node = lockFile.nodes.${lockFile.nodes.root.inputs.flake-compat};
4
4
+
flake-compat = builtins.fetchTarball {
5
5
+
inherit (flake-compat-node.locked) url;
6
6
+
sha256 = flake-compat-node.locked.narHash;
7
7
+
};
8
8
+
9
9
+
flake = (
10
10
+
import flake-compat {
11
11
+
src = ./.;
12
12
+
}
13
13
+
);
14
14
+
in
15
15
+
flake.defaultNix
+7
-9
flake.lock
···
38
38
},
39
39
"flake-compat": {
40
40
"locked": {
41
41
-
"lastModified": 1747046372,
42
42
-
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
43
43
-
"owner": "edolstra",
44
44
-
"repo": "flake-compat",
45
45
-
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
46
46
-
"type": "github"
41
41
+
"lastModified": 1751685974,
42
42
+
"narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=",
43
43
+
"rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1",
44
44
+
"type": "tarball",
45
45
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/flake-compat/archive/549f2762aebeff29a2e5ece7a7dc0f955281a1d1.tar.gz?rev=549f2762aebeff29a2e5ece7a7dc0f955281a1d1"
47
46
},
48
47
"original": {
49
49
-
"owner": "edolstra",
50
50
-
"repo": "flake-compat",
51
51
-
"type": "github"
48
48
+
"type": "tarball",
49
49
+
"url": "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz"
52
50
}
53
51
},
54
52
"flake-compat_2": {
+1
-1
flake.nix
···
1
1
{
2
2
inputs = {
3
3
flake-parts.url = "github:hercules-ci/flake-parts";
4
4
-
flake-compat.url = "github:edolstra/flake-compat";
4
4
+
flake-compat.url = "https://git.lix.systems/lix-project/flake-compat/archive/main.tar.gz";
5
5
git-hooks.url = "github:cachix/git-hooks.nix";
6
6
systems.url = "github:nix-systems/default";
7
7
crane.url = "github:ipetkov/crane";