| 8 May 2024 |
| thirdofmay18081814goya set a profile picture. | 00:56:09 |
| 12 May 2024 |
lunik1 | I'm trying to make a system configuration that lives separately from my main flakelight-managed config repo, but re-using the same nixpkgs. I've made a start here https://gist.github.com/lunik1/bf43fb0ebd9c4ef5a6e168eed03afbb0 but it fails to build when I set nixpkgs.follows = "nix-config/nixpkgs"; (where nix-config is my main config repository). I think the stacktrace (included in gist) is pointing to something in flakelight. | 22:10:26 |
accelbread | does it work if you add inherit inputs; to your flakelight module? if so, I'll see if i can get a better error message there | 22:13:22 |
lunik1 | that causes an infinite recursion... | 22:14:51 |
accelbread | yeah looks like a bug in lockfile parsing; inherit inputs; will disable that | 22:15:03 |
accelbread | hm | 22:15:19 |
accelbread | are you using self elsewhere? | 22:15:42 |
accelbread | I'll try to reproduce on my machine in a bit | 22:16:15 |
lunik1 | that's gist is the whole repo (for now :) ) | 22:16:33 |
lunik1 | https://bin.nixnet.services/?171ad108cdb05cb2#81GzsprtTzWWvegUCB5p2mjnszsxjWL722dMJ6vbkXkF here's the stracktrace for the infinite recursion | 22:18:17 |
lunik1 | * that gist is the whole repo (for now :) ) | 22:30:27 |
accelbread | Ah | 22:33:28 |
accelbread | your inputs is from moduleArgs | 22:33:42 |
accelbread | need to add @inputs to outputs params | 22:34:00 |
accelbread |  Download image.png | 22:35:56 |
accelbread | Should be like that | 22:36:03 |
accelbread | I'll look into why that lockfile isn't parsing;
though for a config flake, likely want to pass inputs anyways | 22:37:43 |
accelbread | * I'll look into why that lockfile isn't parsing;
though for a config flake, likely want to pass inputs anyways (need to still improve docs and add templates for that...) | 22:38:07 |
lunik1 | yes, seems to work now. thanks! | 22:39:12 |
| 17 May 2024 |
lunik1 | Did you get anywhere with the lockfile parsing? I think I'm having another issue where it is the root cause. | 23:34:29 |
| 18 May 2024 |
accelbread | Didn't get a chance yet; whats the issue? | 05:20:11 |
lunik1 | I'm tying to use inputs in a file in the nixDir, and running into an issue where an input only has a nixosModules attribute if I provide the input with a url rather than following the dependency of another input. Because I'm not in flake.nix, I can't fix it this time by using the "outer" inputs`. | 11:39:56 |
lunik1 | I'm tying to use inputs in a file in the nixDir, and running into an issue where an input only has a nixosModules attribute if I provide the input with a url rather than following the dependency of another input. Because I'm not in flake.nix, I can't fix it this time by using the "outer" inputs. | 11:40:03 |
accelbread | Passing the inputs in in flake.nix sets them everywhere | 17:52:16 |
accelbread | might be that the url is a different version of the flake than the follows? Do you have a flake and lockfile I could check? | 17:53:04 |
| 22 May 2024 |
| NixOS Moderation Botchanged room power levels. | 15:25:51 |
| NixOS Moderation Botchanged room power levels. | 15:28:06 |
lunik1 | Well I came back to this today and couldn't reproduce it, so all good! | 15:31:00 |
| 23 May 2024 |
accelbread | The lockfile parsing bug should now be fixed; turns out the parsing did not expect that the root node in the lockfile could be a list (i.e. using follows at top level)
https://github.com/nix-community/flakelight/commit/8f33d9c4fb1d7d8afc3de9145e3304a40aed1479 | 06:48:17 |
| 14 Jul 2024 |
| Tsomipa_ts joined the room. | 18:05:54 |