NixOS Module System | 147 Members | |
| 30 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Jan 2024 | ||
| 23:45:49 | ||
| 23:45:53 | ||
| 23:46:07 | ||
| 23:46:26 | ||
| 23:46:27 | ||
| 23:46:30 | ||
| 23:46:34 | ||
| Room Avatar Renderer. | 23:47:11 | |
| 23:47:25 | ||
| 5 Jan 2024 | ||
| 00:42:16 | ||
| 02:26:42 | ||
| 05:05:42 | ||
| 11:23:30 | ||
| 11:28:36 | ||
| 12:46:48 | ||
| 14:19:19 | ||
| 6 Jan 2024 | ||
| 20:39:04 | ||
| 8 Jan 2024 | ||
| 04:51:34 | ||
| 22 Jan 2024 | ||
| 21:58:53 | ||
| 25 Jan 2024 | ||
| 07:01:32 | ||
| 29 Jan 2024 | ||
| Hey all I am creating some new modules and want to generate documentation for them but I get errors like this. This is because I create the option | 02:00:59 | |
| * Hey all I am creating some new modules and want to generate documentation for them but I get errors like this. This is because I create the option | 02:01:09 | |
| * Hey all I am creating some new modules and want to generate documentation for them but I get errors like this. This is because I create the option | 02:01:14 | |
| 11:08:22 | ||
| djacu That means you're evaluating the option somehow, but generating docs shouldn't require that | 12:11:50 | |
In reply to @infinisil:matrix.orgNot sure what I changed but it's working now... Maybe I was passing the whole output of evalModules to optionAttrSetToDocList instead of just the options value. | 20:04:11 | |
| 31 Jan 2024 | ||
Is it possible to override the parameters of an option after creation? If that isn't clear let me explain my situation. I have a module that defines several options that are generic definitions and is imported by several other modules. E.g. I have a format.nix that defines content and order that are both visible to the user. Now in some cases, I want to hide order. So my thought was that I could override the visibility in the modules that import format.nix. But I can't seem to figure out how to do that. Possible? | 05:38:47 | |
* Is it possible to override the parameters of an option after creation? If that isn't clear let me explain my situation. I have a module that defines several options that are generic definitions and is imported by several other modules. E.g. I have a format.nix that defines content and order that are both visible to the user. In certain cases where I import format.nix into another module, I want to hide order. So my thought was that I could override the visibility in those modules. But I can't seem to figure out how to do that. Possible? | 05:42:19 | |
djacu: Yeah that's not possible, probably best to have a function with that parameter that returns a new option, like lib.mkPackageOption | 16:03:53 | |
In reply to @infinisil:matrix.orgYeah I figured. Thank infinisil ! | 17:37:10 | |