1 Dec 2021 |
Bruno | * I'm almost completely done, I just have one line provoking an infinite recursion error: services.resolved.enable = config.networking.networkmanager.dns == "systemd-resolved"; Any idea what could cause that? | 10:41:42 |
Bruno | Oh it's the opposite 😅 resolved has a ref to networkmanager | 10:46:29 |
@teutat3s:pub.solar | Does somebody have an idea what's going on here:
❯ sudo nixos-rebuild build --flake ".#mymachine" --show-trace
warning: Git tree '/home/teutat3s/CodeRoom/git.b12f.io/pub-solar/os' is dirty
building the system configuration...
warning: Git tree '/home/teutat3s/CodeRoom/git.b12f.io/pub-solar/os' is dirty
error: getting status of '/nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source': No such file or directory
… while evaluating anonymous lambda
at «string»:10:13:
9| builtins.mapAttrs
10| (key: node:
| ^
11| let
… from call site
… while evaluating anonymous lambda
at «string»:23:25:
22| inputs = builtins.mapAttrs
23| (inputName: inputSpec: allNodes.${resolveInput inputSpec})
| ^
24| (node.inputs or {});
… from call site
… while evaluating the attribute 'lib.mkFlake'
at /nix/store/d3vlpgh54ackhc03fdcn9pqh5q3cgkcp-source/flake.nix:31:7:
30|
31| lib = flake-utils.lib // {
| ^
32| inherit mkFlake exportModules exportOverlays exportPackages systemFlake modulesFromList;
… while evaluating anonymous lambda
at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/fup-adapter.nix:4:1:
3|
4| {
| ^
5| # evaluated digga configuration
… from call site
at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/default.nix:21:11:
20|
21| flake = fupAdapter' {
| ^
22| inherit (evaled) config;
… while evaluating the attribute 'flake'
at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/src/mkFlake/default.nix:21:3:
20|
21| flake = fupAdapter' {
| ^
22| inherit (evaled) config;
… while evaluating '__functor'
at /nix/store/51mynq216xnq2xi8nkfgxfvrzngny12z-source/flake.nix:79:26:
78| {
79| __functor = _: args: (mkFlake' args).flake;
| ^
80| options = args: (mkFlake' args).options;
… from call site
at /nix/store/hjla3dlwwq0xwvbgi1fq4jqvjjn9ljns-source/flake.nix:61:5:
60| } @ inputs:
61| digga.lib.mkFlake
| ^
62| {
… while evaluating 'outputs'
at /nix/store/hjla3dlwwq0xwvbgi1fq4jqvjjn9ljns-source/flake.nix:48:5:
47| outputs =
48| { self
| ^
49| , digga
… from call site
at «string»:45:21:
44|
45| outputs = flake.outputs (inputs // { self = result; });
| ^
46|
… while evaluating anonymous lambda
at «string»:10:13:
9| builtins.mapAttrs
10| (key: node:
| ^
11| let
… from call site
… while evaluating anonymous lambda
at «string»:2:23:
1|
2| lockFileStr: rootSrc: rootSubdir:
| ^
3|
… from call site
| 11:16:35 |
@teutat3s:pub.solar | Maybe there's a way to force-recreate that -source ? nix develop shows the same error | 11:17:27 |
@gytis-ivaskevicius:matrix.org | did you git add everything? | 11:37:48 |
@teutat3s:pub.solar | Gytis Ivaskevicius: Yeah | 11:40:53 |
@gytis-ivaskevicius:matrix.org | whats /nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source supposed to be? | 11:42:45 |
b12f | isn't it the source code for the nixos config? afaik nix copies the current repo to the store | 12:24:30 |
@teutat3s:pub.solar | yeah I think so too | 12:47:58 |
David Arnold (blaggacao) | It looks like it's fup's source. You'd have to fly trhough some nix commands, potentially nix store to figure out how to "heal" that broken state (it's likely broken, since I can't remember that we use that builtin which supposes a pre-existing store path existed). | 13:25:30 |
@teutat3s:pub.solar | David Arnold (blaggacao): maybe an important detail: I got to that state by following the commits from the recent digga cleanup PR https://github.com/divnix/digga/pull/115 | 13:27:49 |
David Arnold (blaggacao) | This looks rather random, though. | 13:28:35 |
David Arnold (blaggacao) | I've also had corrupted sqlight indices once in a while. | 13:29:06 |
@teutat3s:pub.solar | ❯ sudo nix-store --verify --check-contents --repair this might work | 14:10:00 |
@teutat3s:pub.solar | hehe, there you go
path '/nix/store/qcvnd2dsa5a3h4gq8x5x7hds6z85i4dw-source' disappeared, removing from database...
| 14:12:09 |
@teutat3s:pub.solar | magic disappearing happened and fixed 👍️ | 14:12:48 |
David Arnold (blaggacao) | So I guess, I fixed the boundary issues with subflake referencing the top level flake that made us revert path:../../ in the examples recently. | 23:12:34 |
David Arnold (blaggacao) | I now only need a strawman to submit the patch. | 23:12:45 |
@ultranix:matrix.org | anyone know why I cant login with any passwords after restart? | 23:34:49 |
@ultranix:matrix.org | seems to break something after i updated to nixos-unstable 22.05 and switch generations | 23:35:44 |
@ultranix:matrix.org | but the agenix encrypted password works until i restart | 23:35:59 |
@ultranix:matrix.org | i cant figure out the cause | 23:36:03 |
@ultranix:matrix.org | to login again i have to switch back to a previous generation of 21.11 or whatever the old nixos-unstable was | 23:37:00 |
@ultranix:matrix.org | using passwords as outlined in the secrets.md doc | 23:38:12 |
Pacman99 | Did you update agenix? I know there were some recent changes that may have broken things | 23:38:30 |
@ultranix:matrix.org | i would have updated everything | 23:38:43 |
@ultranix:matrix.org | yeah | 23:38:45 |
Pacman99 | So one thing, the location of secrets was switched to /run/agenix instead of /run/secrets | 23:39:26 |
@ultranix:matrix.org | i saw that, yeah | 23:39:36 |
@ultranix:matrix.org | but after apply to configuration, why would that even apply? what does it care for startup where the passwords are | 23:39:55 |