NixOS Module System | 149 Members | |
| 30 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Sep 2024 | ||
| * My MRE attempt is producing the expected behavior:
So I'm struggling to understand why in #2342 I have issues where the the type behaves differently after being used in
NOTE: The
EDIT: Accessing
| 07:49:22 | |
| * My MRE attempt is producing the expected behavior:
So I'm struggling to understand why in #2342 I have issues where the the type behaves differently after being used in
NOTE: The
EDIT: Accessing
| 07:49:46 | |
| 1 Oct 2024 | ||
| 21:03:34 | ||
| 2 Oct 2024 | ||
| 12:19:06 | ||
| 4 Oct 2024 | ||
| 17:38:04 | ||
| 7 Oct 2024 | ||
| 08:26:57 | ||
| 14:24:14 | ||
| 10 Oct 2024 | ||
| 13:24:45 | ||
| 11 Oct 2024 | ||
| Are there any good writeups on using I've gone through the manual, the | 15:12:19 | |
| 19:28:40 | ||
| 15 Oct 2024 | ||
| 03:21:06 | ||
| 19 Oct 2024 | ||
| 12:07:59 | ||
| 21 Oct 2024 | ||
| 20:04:44 | ||
| 23 Oct 2024 | ||
| 09:49:21 | ||
| 24 Oct 2024 | ||
| 07:35:14 | ||
| 08:18:07 | ||
| 25 Oct 2024 | ||
| 03:54:51 | ||
| 29 Oct 2024 | ||
| 17:36:30 | ||
| 3 Nov 2024 | ||
| 11:51:10 | ||
| 6 Nov 2024 | ||
| 13:48:07 | ||
| 8 Nov 2024 | ||
| 02:57:20 | ||
| 14:29:46 | ||
| 10 Nov 2024 | ||
| 20:02:18 | ||
| I have an option whose default depends on a value defined in the config.
(I'm skipping a few details in the type here, not sure what is important or not).
Here is where the documentation code is evaluating the modules. So I tried changing the default to use I also tried adding a dummy module inside the
But that's not working either 😅 What's working is if I use a hardcoded string for the default value of the options. Here is the PR introducing the changes leading to that error. This Github action shows the error. More specifically, here's the type definition and default setting that causes an issue. On a totally different topic, this PR introduces 2 contracts in the form of structural typing for backing up files and backing up databases. They are both implemented by Restic. The correct implementation of both contracts is enforced by 2 generic NixOS tests (here and here) and then the Restic implementation is verified here and here. | 23:28:04 | |
| * I have an option whose default depends on a value defined in the config.
(I'm skipping a few details in the type here, not sure what is important or not. There's a link to the PR with the full code further down).
Here is where the documentation code is evaluating the modules. So I tried changing the default to use I also tried adding a dummy module inside the
But that's not working either 😅 What's working is if I use a hardcoded string for the default value of the options. Here is the PR introducing the changes leading to that error. This Github action shows the error. More specifically, here's the type definition and default setting that causes an issue. On a totally different topic, this PR introduces 2 contracts in the form of structural typing for backing up files and backing up databases. They are both implemented by Restic. The correct implementation of both contracts is enforced by 2 generic NixOS tests (here and here) and then the Restic implementation is verified here and here. | 23:28:39 | |
| * I have an option whose default depends on a value defined in the config.
(I'm skipping a few details in the type here, not sure what is important or not. There's a link to the PR with the full code further down).
Here is where the documentation code is evaluating the modules. So I tried changing the default to use I also tried adding a dummy module inside the
But that's not working either 😅 What's working is if I use a hardcoded string for the default value of the options. Here is the PR introducing the changes leading to that error. This Github action shows the error. More specifically, here's the type definition and default setting that causes an issue. On a totally different topic, this PR introduces 2 contracts in the form of structural typing for backing up files and backing up databases. They are both implemented by Restic. The correct implementation of both contracts is enforced by 2 generic NixOS tests (here and here) and then the Restic implementation is verified here and here. | 23:32:16 | |
I've usually set defaultText to reflect where it's pulling it's default from. Would that work for you? | 23:32:48 | |
| Yessssssssss that worked!! | 23:36:06 | |
| I'm happy to go to bed on a positive note, I'll post the update tomorrow :) Thanks!! | 23:36:53 | |
| Great! | 23:37:30 | |