!hArdrCQjixoTCqafnk:matrix.org

Nix Hour

164 Members
Discussions and notifications for the weekly Nix Hour, a Nix Q&A Lecture by Tweag: https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-q-a-lecture-by-tweag/2276737 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Apr 2024
@infinisil:matrix.orginfinisil Can't promise it's going to be a good one, but I'll try to both cover the original issue and some other interesting bits :) 16:08:14
@infinisil:matrix.orginfinisilIf you have more specific questions, feel free to add them to the issue :)16:08:47
@kiike:matrix.orgEnric MoralesI really liked the one where you went debugging nixpkgs build fails16:11:32
@kiike:matrix.orgEnric Moralesand i'm a bit more interested in themes around contributing to nixpkgs rather than the system per se, of course i'm very interested in the system especially all concerning demistifying functionality16:14:03
@stablejoy:matrix.orgstablejoy
In reply to @kiike:matrix.org
and i'm a bit more interested in themes around contributing to nixpkgs rather than the system per se, of course i'm very interested in the system especially all concerning demistifying functionality
Oh have you seen the one about contributing and then ZHF ones too
16:15:19
@kiike:matrix.orgEnric Moralescontributing to nixpkgs? yep. zhf, not yet (i don't know what it stands for)16:16:48
@stablejoy:matrix.orgstablejoy
In reply to @kiike:matrix.org
contributing to nixpkgs? yep. zhf, not yet (i don't know what it stands for)
zero hydra failures, there is one zhf coming up soon
16:17:24
@kiike:matrix.orgEnric Morales https://www.youtube.com/watch?v=kTzEslx3Kg0 this one? i'll watch it tonight 16:17:28
@stablejoy:matrix.orgstablejoyI used to think ZHF is the name of Nix Zurich meetup lol16:18:54
@kiike:matrix.orgEnric Moralesthat ZHF video is very useful!19:17:39
@kiike:matrix.orgEnric Moralesis ZHF a good project to get started contributing? I only have a couple packages that I co-maintain19:17:57
@djacu:matrix.org@djacu:matrix.org
In reply to @infinisil:matrix.org
Can't promise it's going to be a good one, but I'll try to both cover the original issue and some other interesting bits :)
Based on my experience of being a viewer since the beginning, I think it'll be a good episode; just like all the rest. :)
19:25:03
@infinisil:matrix.orginfinisilDon't jinx it!19:27:20
@infinisil:matrix.orginfinisilThanks 😄19:27:47
@stablejoy:matrix.orgstablejoy
In reply to @kiike:matrix.org
is ZHF a good project to get started contributing? I only have a couple packages that I co-maintain
Also looking at open issues or good first issue label in nixpkgs/nix/nix.dev repo.
19:43:54
@kiike:matrix.orgEnric Morales thanks stablejoy! 19:48:33
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (void) to SomeoneSerge (UTC+1).23:01:24
26 Apr 2024
@infinisil:matrix.orginfinisil @room The next Nix hour is in 60 minutes! This week we'll go on a small module system expedition. You can watch the Nix Hour in this live stream. If you have any questions about this, either ask them beforehand in this issue, or use the live chat 😄 14:00:22
@stablejoy:matrix.orgstablejoy changed their profile picture.14:03:44
@ibizaman:matrix.orgibizaman joined the room.15:52:28
@picog:matrix.orgPico

The part that confused me but cleared up now

type = types.submodule ./vpn.nix

So the manual does say:
https://nixos.org/manual/nixos/unstable/#sec-option-types-submodule

types.submodule o

    A set of sub options o. o can be an attribute set, a function returning an attribute set, or a path to a file containing such a value

So that's why passing a path is fine, I suspect the vpn.nix could contain either a function like it did in the example or just an attribute set.
I tried to figure it out from reading the source but that's bit hard for my nix level.

17:03:24
27 Apr 2024
@nebunebu:matrix.orgnebu joined the room.20:19:19
28 Apr 2024
@buf:matrix.orgbuf joined the room.02:55:49
29 Apr 2024
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (UTC+1) to SomeoneSerge (is taking time off and doesn't want to hear about it).11:43:10

Show newer messages


Back to Room ListRoom Version: 10