!wfudwzqQUiJYJnqfSY:nixos.org

NixOS Module System

159 Members
31 Servers

Load older messages


SenderMessageTime
17 Jan 2026
@hexa:lossy.networkhexawarnings02:27:04
@mattsturg:matrix.orgMatt Sturgeon internal doesn't not affect who can use an option. It only affects whether it is documented. It's effectively the same thing as visible = "shallow". 12:30:52
@mattsturg:matrix.orgMatt Sturgeon * internal doesn't affect who can use an option. It only affects whether it is documented. It's effectively the same thing as visible = "shallow". 13:05:04
18 Jan 2026
@nam3l33ss:matrix.org·☽•Nameless☆•777 · ± changed their profile picture.14:58:52
@isabel:isabelroses.comisabel changed their profile picture.20:43:36
19 Jan 2026
@mpuppe:matrix.orgmpuppe joined the room.21:20:37
21 Jan 2026
@bake.monorail:matrix.orgbake.monorail is there anything more specific than types.str I can use for a version number that I will later compare with lib.versionAtLeast? 20:39:57
@mattsturg:matrix.orgMatt Sturgeon

In string types we have strMatching, however that expects a regex not a predicate function.

The general solution is addCheck (see extending types), however the examples there don't show that you typically also want to extend/override the type's description.

20:46:28
@bake.monorail:matrix.orgbake.monorail yeah, I went with strMatching, but I was hoping to have a type matching exactly what versionAtLeast would accept, but I guess there's no such a thing 20:50:21
@bake.monorail:matrix.orgbake.monorail versionAtLeast under the hood uses builtins.compareVersions, which seems to accept anything, probably it has a last-resort method comparison that's just lexicographic comparison 20:53:24
22 Jan 2026
@nbp:mozilla.orgnbpI would say, at the very least types are part of the documentation, if you can give a more descriptive name even if there is no additional check, this might be worth it. (i-e. just aliasing the name my motivate someone else to add a check function later)11:28:54
28 Jan 2026
@alexandrutocar:matrix.org- changed their display name from Alexandru Tocar to -.18:34:44
1 Feb 2026
@sigmasquadron:matrix.orgFernando Rodrigues changed their display name from SigmaSquadron to Fernando Rodrigues.10:43:29
3 Feb 2026
@zmitchell:matrix.orgzmitchell joined the room.17:23:16
9 Feb 2026
@brunouno:matrix.orgBrunouno joined the room.22:07:01
10 Feb 2026
@crony:cronyakatsuki.xyzCrony Akatsuki joined the room.21:33:44
12 Feb 2026
@me_and:matrix.orgAdam joined the room.23:13:59
13 Feb 2026
@hoplophfeil:matrix.orghoplopf joined the room.10:26:33
17 Feb 2026
@kasek:matrix.orgkasek joined the room.20:12:56
18 Feb 2026
@tiferrei:tiferrei.comtiferrei joined the room.20:16:58
19 Feb 2026
@shmwot:matrix.orgcatsarecute joined the room.19:04:22
21 Feb 2026
@h7x4:nani.wtfh7x4 changed their profile picture.19:27:05
@h7x4:nani.wtfh7x4 changed their profile picture.19:30:31
@h7x4:nani.wtfh7x4 changed their profile picture.19:33:57
22 Feb 2026
@hazeslate37:matrix.orgHaze joined the room.02:54:32
@ckie:ckie.devmei 🌒& changed their profile picture.22:55:48
23 Feb 2026
@brain:matrix.briannelson.devbrain joined the room.14:41:01
@draed:matrix.org@draed:matrix.org left the room.17:53:26
24 Feb 2026
@cdepillabout:matrix.org@cdepillabout:matrix.org left the room.07:41:18
@rend0e_:matrix.orgrend0e_ joined the room.10:36:54

There are no newer messages yet.


Back to Room ListRoom Version: 10