!yUrHuDcxUngfTlDbiy:matrix.org

flakelight

38 Members
https://github.com/nix-community/flakelight12 Servers

Load older messages


SenderMessageTime
8 May 2024
@nrs-status:matrix.orgthirdofmay18081814goya set a profile picture.00:56:09
12 May 2024
@lunik1:lunik.onelunik1 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:matrix.orgaccelbread 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:lunik.onelunik1that causes an infinite recursion...22:14:51
@accelbread:matrix.orgaccelbread yeah looks like a bug in lockfile parsing; inherit inputs; will disable that 22:15:03
@accelbread:matrix.orgaccelbreadhm22:15:19
@accelbread:matrix.orgaccelbread are you using self elsewhere? 22:15:42
@accelbread:matrix.orgaccelbreadI'll try to reproduce on my machine in a bit22:16:15
@lunik1:lunik.onelunik1that's gist is the whole repo (for now :) )22:16:33
@lunik1:lunik.onelunik1https://bin.nixnet.services/?171ad108cdb05cb2#81GzsprtTzWWvegUCB5p2mjnszsxjWL722dMJ6vbkXkF here's the stracktrace for the infinite recursion22:18:17
@lunik1:lunik.onelunik1* that gist is the whole repo (for now :) )22:30:27
@accelbread:matrix.orgaccelbreadAh22:33:28
@accelbread:matrix.orgaccelbreadyour inputs is from moduleArgs22:33:42
@accelbread:matrix.orgaccelbread need to add @inputs to outputs params 22:34:00
@accelbread:matrix.orgaccelbreadimage.png
Download image.png
22:35:56
@accelbread:matrix.orgaccelbreadShould be like that22:36:03
@accelbread:matrix.orgaccelbreadI'll look into why that lockfile isn't parsing; though for a config flake, likely want to pass inputs anyways22:37:43
@accelbread:matrix.orgaccelbread * 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:lunik.onelunik1yes, seems to work now. thanks!22:39:12
17 May 2024
@lunik1:lunik.onelunik1Did 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:matrix.orgaccelbreadDidn't get a chance yet; whats the issue?05:20:11
@lunik1:lunik.onelunik1 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:lunik.onelunik1 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:matrix.orgaccelbread Passing the inputs in in flake.nix sets them everywhere 17:52:16
@accelbread:matrix.orgaccelbreadmight 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
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:25:51
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:06
@lunik1:lunik.onelunik1Well I came back to this today and couldn't reproduce it, so all good!15:31:00
23 May 2024
@accelbread:matrix.orgaccelbreadThe 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/8f33d9c4fb1d7d8afc3de9145e3304a40aed147906:48:17
14 Jul 2024
@tsomipa_ts:matrix.orgTsomipa_ts joined the room.18:05:54

Show newer messages


Back to Room ListRoom Version: 10