Nix Documentation | 438 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 92 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Nov 2023 | ||
| bzm3r: There's a docs team meeting tomorrow at 16:00 CET (see the NixOS calendar), could you join there? | 20:43:55 | |
| Even if you can't make it, we can discuss your idea there :) | 20:44:50 | |
In reply to @bzzm3r:matrix.org If you can devote time to that, it would be a blast. There's a fairly old issue about it here, but it's still on the radar: https://github.com/NixOS/nix.dev/issues/278 You'll surely get lots of feedback on the didactic part and about generic Nix aspects from the docs team, and it may be worth upstreaming things into Nixpkgs on the side to get maintainer feedback for stylistic. And while I really don't want to hamper your enthusiasm, expect it to be a big project that may not terminate within your available time. The reference documentation is often so sparse it's useless. Start out with one language, do a cheap draft and bounce it against us. | 20:48:58 | |
In reply to @bzzm3r:matrix.org* If you can devote time to that, it would be a blast. There's a fairly old issue about it here, but it's still on the radar: https://github.com/NixOS/nix.dev/issues/278 You'll surely get lots of feedback on the didactic part and about generic Nix aspects from the docs team, and it may be worth upstreaming things into Nixpkgs on the side to get maintainer feedback on style and conventions. And while I really don't want to hamper your enthusiasm, expect it to be a big project that may not terminate within your available time. The reference documentation is often so sparse it's useless. Start out with one language, do a cheap draft and bounce it against us. | 20:49:21 | |
| 22:41:23 | ||
| 16 Nov 2023 | ||
| asymmetric: Ping regarding the transfer of nixdoc | 00:37:17 | |
| I won't be able to join the doc meeting today. Have a good session! | 14:24:26 | |
| I'd like to highlight ryantm's PR to add a new split Nixpkgs manual render: https://github.com/NixOS/nixpkgs/pull/108063 🚀 | 18:32:28 | |
| It was about to be merged recently, but got some comments. It would be great if we could help out getting it merged | 18:32:52 | |
| Yeah, haven't had a chance to address those comments. The inotify stuff is something I'm not particularly familiar with. | 18:56:41 | |
| i am trying to react to fricklerhandwerk comment in a pr. but i am stuck. I am wondering how one could pass a configuration option to
so that xserverEnabled is true independent from the host configuration. so that it is passed to the script here | 21:51:01 | |
| * i am trying to react to fricklerhandwerk comment in a pr. but i am stuck. I am wondering how one could pass a configuration option to
so that xserverEnabled is true independent from the host configuration. so that it is passed to the script here or rather here to be more precise. | 21:59:16 | |
In reply to @olafklingt:matrix.org
however that only contains
Instead of re-implement what the package is doing it would be better to add a argument to the package which will then be passed to the | 22:06:20 | |
In reply to @artturin:matrix.orgthank you Artturin | 22:08:58 | |
| It's possible to override the
| 22:10:00 | |
| * It's possible to override the
| 22:10:42 | |
| So a adding a new argument isn't needed if you're okay with that trick | 22:12:28 | |
what is the _: syntax? in nixos = _: old | 22:16:36 | |
In reply to @olafklingt:matrix.org _: old is a function that ignores its argument and returns old | 22:17:10 | |
In reply to @olafklingt:matrix.org(the _ can be anything) | 22:17:30 | |
| to avoid the need to merge options? | 22:17:53 | |
| No
| 22:19:58 | |
| in https://github.com/NixOS/nixpkgs/blob/d6400c8a2a27e8ba20971d72c76793b7c684f9ec/pkgs/tools/nix/nixos-install-tools/default.nix#L13 the package will call the argument nixos with {} which would fail if the argument wasn't a function | 22:20:55 | |
by adding _: we pretend it's still the original nixos argument which would not error when called with a argument({}) | 22:21:57 | |
* by adding _: we pretend it's still the original nixos argument which would not error when called with a argument({}) | 22:22:04 | |
| the _ is just a convention for the naming of arguments which will not be used | 22:22:45 | |
| https://nixos.org/manual/nix/stable/language/constructs.html#functions if you need more info on functions | 22:23:31 | |
| thank you but we should move this elsewhere | 22:25:14 | |
In reply to @ryantm:matrix.orgPosted a inotify suggestion https://github.com/NixOS/nixpkgs/pull/108063#discussion_r1396461303 | 22:50:17 | |
| 17 Nov 2023 | ||
In reply to @infinisil:matrix.orgdone, sorry for the delay. i've added you as one of the admins, i can demote myself in a few days | 15:09:05 | |