7 Jul 2024 |
andreas_dev | But this means I'm unable to perform a rebuild | 08:29:54 |
andreas_dev | Because I need git | 08:29:57 |
andreas_dev | And nix shell fails because I don't have bash | 08:30:07 |
K900 | You can use path:///home/user/config | 08:31:38 |
K900 | To avoid the git invocation | 08:31:41 |
andreas_dev | Interesting, I didn't know that was a thing | 08:32:52 |
andreas_dev | Thank you | 08:32:54 |
andreas_dev | https://pastebin.com/xvmXmUnj
Another issue.. do you know how to solve this one? | 08:45:46 |
K900 | Hmm, that shouldn't be happening | 08:52:22 |
K900 | Unless you have some weird custom activation script | 08:52:28 |
andreas_dev | I think that's caused by the recovery shell too, since PID 1 is bash there | 08:52:30 |
K900 | That is normla | 08:52:51 |
K900 | * That is normal | 08:52:52 |
K900 | What is not normal is the activation script trying to talk to systemd | 08:52:58 |
K900 | And failing | 08:53:00 |
andreas_dev | Ah, that might be my nix-channel workaround. I use systemd temp files there to set nixPath | 08:55:50 |
andreas_dev | Hm, still happens when I remove that. | 09:00:02 |
K900 | I wonder if it's actually activating | 09:01:02 |
K900 | Just also printing that message | 09:01:07 |
andreas_dev | https://pastebin.com/bbVu81WZ
This is my config, for reference | 09:02:13 |
K900 | Wait | 09:02:31 |
K900 | Are you importing the WSL modules anywhere? | 09:02:36 |
andreas_dev | Yes, in my flake | 09:03:25 |
andreas_dev | host = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; modules = [ inputs.nixos-wsl.nixosModules.wsl
./etc/nixos/nixos-modules/upkgs.nix ./etc/nixos/nixos-modules/nh.nix ./etc/nixos/nixos-modules/flake-programs-sqlite.nix ./etc/nixos/hosts/ldhnieuwegein/ldhnieuwegein_configuration.nix ];
}; | 09:06:59 |
andreas_dev | Maybe I use systemd in one of those modules | 09:07:27 |
andreas_dev | Let me check | 09:07:32 |
andreas_dev | Nope, that's not it. | 09:09:22 |
| dminca joined the room. | 09:38:23 |
nzbr (they/it) | nixos-rebuild boot should not even run the activation scripts, so I doubt that it's related to that. Which makes the fact that it tries to talk to systemd extra weird Also the recovery shell just runs nixos-enter , so everything from your regular environment should be available. But given that you are using the recovery shell in the first place I'll assume that something is broken with that. Have you already tried to roll back to the previous generation? | 18:10:37 |
8 Jul 2024 |
| @fastloris:tchncs.de joined the room. | 00:48:28 |