Sender | Message | Time |
---|---|---|
22 Aug 2024 | ||
@adis:blad.is | I really wish stuff like mkMerge wasn't in top-level lib. It's confusing as heck. | 23:28:39 |
23 Aug 2024 | ||
fpf3 joined the room. | 00:30:24 | |
Matt Sturgeon | Ok, found it: https://matrix.to/#/!RRerllqmbATpmbJgCn:nixos.org/$0WVAvACN5DN8NLuPU7hmS2ZaGKNcCYMxB1jkhb99Lqk?via=nixos.org&via=matrix.org&via=tchncs.de Looks like you are trying to convert a list of config-spec-attrsets into an attrset of nixos configurations. Currently you're passing a list of attrs to I'd recommend having an attrset of config-sepcs instead of a list, and then using e.g.
However, if you don't want to do that, you'll need to use e.g.
| 01:14:01 |
Matt Sturgeon | * Ok, found it: https://matrix.to/#/!RRerllqmbATpmbJgCn:nixos.org/$0WVAvACN5DN8NLuPU7hmS2ZaGKNcCYMxB1jkhb99Lqk?via=nixos.org&via=matrix.org&via=tchncs.de Looks like you are trying to convert a list of config-spec-attrsets into an attrset of nixos configurations. Currently you're passing a list of attrs to I'd recommend having an attrset of config-sepcs instead of a list, and then using e.g.
However, if you don't want to do that, you'll need to use e.g.
| 01:15:32 |
Matt Sturgeon | * Ok, found it: https://matrix.to/#/!RRerllqmbATpmbJgCn:nixos.org/$0WVAvACN5DN8NLuPU7hmS2ZaGKNcCYMxB1jkhb99Lqk?via=nixos.org&via=matrix.org&via=tchncs.de Looks like you are trying to convert a list of config-spec-attrsets into an attrset of nixos configurations. Currently you're passing a list of attrs to I'd recommend having an attrset of config-sepcs instead of a list, and then using e.g.
You could also have something like this if you don't want to define the hostname twice:
However, if you don't want to do that, you'll need to use e.g.
| 01:17:56 |
Matt Sturgeon | * Ok, found it: https://matrix.to/#/!RRerllqmbATpmbJgCn:nixos.org/$0WVAvACN5DN8NLuPU7hmS2ZaGKNcCYMxB1jkhb99Lqk?via=nixos.org&via=matrix.org&via=tchncs.de Artur Manuel Looks like you are trying to convert a list of config-spec-attrsets into an attrset of nixos configurations. Currently you're passing a list of attrs to I'd recommend having an attrset of config-sepcs instead of a list, and then using e.g.
You could also have something like this if you don't want to define the hostname twice:
However, if you don't want to do that, you'll need to use e.g.
| 01:18:38 |
lmmohr joined the room. | 01:24:13 | |
Artur Manuel | cheers, i just found my own solution just a little over 4 hours ago but i appreciate the help! ill note the use of mapAttrs | 04:13:35 |
brisingr05 | Redacted or Malformed Event | 06:22:10 |
brisingr05 | * Is it possible to use `lib.lists.remove` to remove multiple elements from a list rather than just one? Or a similar function? | 06:22:39 |
rolfst joined the room. | 13:14:55 | |
@9999years:matrix.org left the room. | 18:25:18 | |
benwebb left the room. | 19:00:10 | |
24 Aug 2024 | ||
@shymega:one.ems.host changed their display name from Dom Rodriguez (shymega) to [DEPRECATED] Dom 'shymega' Rodriguez. | 01:58:38 | |
@darkwater4213:matrix.org left the room. | 02:21:18 | |
lychee changed their profile picture. | 04:25:41 | |
@nydragon:matrix.org left the room. | 14:16:10 | |
@zmitchell:matrix.org left the room. | 19:40:37 | |
25 Aug 2024 | ||
LinearArray changed their profile picture. | 05:01:29 | |
Matt Sturgeon | I have a function that internally calls I'm trying to write a regression test that checks whether this (correctly) fails to evaluate when some of those option dependencies are invalid. I figued I'd use
However, I've also tried doing I could use | 16:07:16 |
Matt Sturgeon | If I copy my fnThatReturnsTest and have it instead return the invalid option (in this example .config.foo ), then tryEval behaves as expected.But it doesn't seem to work as expected when evaluating an option value that depends on an invalid option. | 16:13:52 |
26 Aug 2024 | ||
@fabdb:mokasin.de left the room. | 08:45:32 | |
𝒕𝒂𝒏𝒗𝒊𝒓 changed their profile picture. | 22:38:36 | |
27 Aug 2024 | ||
highda joined the room. | 09:26:44 | |
@dyst:matrix.org left the room. | 11:25:22 | |
duckunix joined the room. | 15:03:38 | |
@aloisw:kde.org left the room. | 18:14:11 | |
28 Aug 2024 | ||
armeen left the room. | 03:18:50 | |
armeen joined the room. | 03:31:40 | |
sem joined the room. | 10:22:52 |