| 16 Apr 2023 |
Find me at aleksana:qaq.li | But it just gave me an infinite recursion | 16:50:13 |
Find me at aleksana:qaq.li | I've managed to get a minimal reproducing example | 17:17:19 |
Find me at aleksana:qaq.li | Redacted or Malformed Event | 17:17:20 |
Find me at aleksana:qaq.li | Redacted or Malformed Event | 17:18:44 |
Find me at aleksana:qaq.li | ...ok I understand. It tries to generate an error message,but got infinite recursion when throwing "while evaluating the module argument" | 17:35:33 |
Ask Yourself🍉 | No I have not, was gonna give it a shot after exams. | 17:51:26 |
Ask Yourself🍉 | You trying to implement it also? | 17:51:34 |
Find me at aleksana:qaq.li | In reply to @askyourself:askyourself.ca You trying to implement it also? Yes | 18:36:30 |
Find me at aleksana:qaq.li | https://paste.aleksana.moe/bletteenti.nix | 18:36:35 |
Find me at aleksana:qaq.li | This example doesn't build and throws infinite recursion | 18:37:02 |
Find me at aleksana:qaq.li | But if disable that line of home-manager, it works | 18:37:22 |
Find me at aleksana:qaq.li | This is unrelated to flake-parts, but the well-known nixosSystem adapter. | 18:37:51 |
Find me at aleksana:qaq.li | Any suggestions? | 18:38:57 |
Ask Yourself🍉 | From me no, I'm a noob, but I'm eager to see if anyone gets it working. | 19:00:02 |
Ask Yourself🍉 | I switched to flake parts cause it's definitely a lot cleaner than basic flake, but I miss Colmena! That's been the only downside so far. :p | 19:00:47 |
Find me at aleksana:qaq.li | In reply to @aleksana:mozilla.org https://paste.aleksana.moe/bletteenti.nix Can anyone play with this? | 19:01:41 |
emily | In reply to @aleksana:mozilla.org Can anyone play with this? try the following instead:
})
# Some seemingly innocent home-manager imports
inputs.home-manager.nixosModules.home-manager
];
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
| 20:35:58 |
Find me at aleksana:qaq.li | In reply to @me:indeednotjames.com
try the following instead:
})
# Some seemingly innocent home-manager imports
inputs.home-manager.nixosModules.home-manager
];
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
What does that mean? | 20:38:23 |
Find me at aleksana:qaq.li | The main problem is, I've written a lot of such imports, and they all go well with nix build and nixos-rebuild | 20:39:16 |
Find me at aleksana:qaq.li | I know I can include them in modules however | 20:39:36 |
emily | you can probably also use ({ ... }: { imports = [ inputs.home-manager.nixosModules.home-manager ]; }) instead | 20:41:33 |
Find me at aleksana:qaq.li | In reply to @me:indeednotjames.com you can probably also use ({ ... }: { imports = [ inputs.home-manager.nixosModules.home-manager ]; }) instead But in real situations I'm writing them in different files | 20:42:48 |
emily | then use
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
your inputs isn't available otherwise
| 20:43:21 |
Find me at aleksana:qaq.li | In reply to @me:indeednotjames.com
then use
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
your inputs isn't available otherwise
I've used specialArgs = {inherit inputs;} in colmena | 20:44:10 |
Find me at aleksana:qaq.li | https://github.com/zhaofengli/colmena/issues/86 | 20:44:56 |
Find me at aleksana:qaq.li | Wait | 20:47:54 |
Find me at aleksana:qaq.li | You are right actually | 20:47:56 |
Find me at aleksana:qaq.li | I found some rather strange situations | 20:49:27 |
Find me at aleksana:qaq.li | Whether I put specialArgs in colmena or nixosSystem, as long as I don't put it at the same time, it will lead to infinite recursion | 20:50:51 |
Find me at aleksana:qaq.li | * Whether I put specialArgs in colmena or nixosSystem, as long as I don't put in both at the same time, it will lead to infinite recursion | 20:51:33 |