Nix Documentation | 421 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 87 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Nov 2023 | ||
| 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 | |
| has anyone had a chance to look at this? https://github.com/NixOS/nix.dev/pull/797 | 16:23:05 | |
| asymmetric: No worries, thanks! | 16:46:22 | |
In reply to @asymmetric:matrix.dapp.org.ukAh yes thanks for the ping. I had an unsent review… | 17:47:28 | |
| 18 Nov 2023 | ||
| 04:05:50 | ||
| 04:08:31 | ||
| Hey folks, I've been meaning to join one of the documentation meetings and finally had time to join last thursday, but couldn't because I wasn't let in the room. Not sure if I got the time wrong or something else. Meetings happen at 15:00 UTC, is that correct? If so, anything else I should do/ask to be able to join another meeting in the future? | 04:25:45 | |