Nix Documentation | 431 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 90 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Jul 2023 | ||
| From my point of view, is was kind of part of it, as this was the natural evolution of extending Nixpkgs with a new set of packages. This point was probably more true before the addition of overlays … :/ | 14:42:53 | |
| * infinisil: From my point of view, is was kind of part of it, as this was the natural evolution of extending Nixpkgs with a new set of packages. This point was probably more true before the addition of overlays … :/ | 14:43:18 | |
| Maybe a work-around would be to index the Markdown files, saying that the everything related to submitting patches upstream, in Nixpkgs, would be describe in a set of files which are part of the distributed sources. | 14:44:44 | |
| 15:39:24 | ||
| proofconstruction: Interesting coincidence: https://www.reddit.com/r/NixOS/comments/1531nyc/installing_nixos_on_raspberry_pi_4/, in that blog post GUI works, but they're using an older NixOS version. There's also an appendix that links to failed attempts. Maybe you could contact the author to work together on improving the nix.dev tutorial for that even more (ideally encourage them to contribute the docs upstream) | 20:59:53 | |
In reply to @infinisil:matrix.orgI have already been in contact with this person since last week, and have of course encouraged contribution upstream 🙂 | 21:00:52 | |
| Seems that there's some relatively recent issue in nixos-hardware which is preventing X11 rendering. I have very little time to chase after that, though, and no personal interest: my pi4 is a headless router. We discussed this briefly in a previous meeting, but unless someone wanted to own this documentation (and really, it should be whoever is working on rpi support in nixos-hardware), I would actually prefer to just remove the existing tutorial and let people find the wiki page, or the post by that user, etc | 21:05:18 | |
| proofconstruction: Sounds good! | 21:07:09 | |
| 20 Jul 2023 | ||
| I won't be able to join today's meeting. | 04:59:02 | |
| Can't make it today, just got pulled into a client call | 12:29:12 | |
Me either for the LJWG. Only update is PR #650 in progress, making edits based on @fricklerhandwerk's review and will have them pushed before tomorrow. Feel free to add comments to that one. In particular I'd like to have one or two more packages to write increasingly complex derivations for, to demonstrate things like NIX_LD_PATH and pkg-config includes. I also don't have a good story for how to determine where a dependency lives (in the tutorial, we need X11/Xlib.h from xorg.libX11.dev but I don't know a nice way to actually find these things beyond googling and knowing something about packaging conventions in other projects. Suggestions welcome | 13:12:19 | |
| 17:14:12 | ||
| pennae: asymmetric: I fixed the line indentation bug in nixdoc :D https://github.com/nix-community/nixdoc/pull/62 | 18:33:18 | |
In reply to @infinisil:matrix.orgit looks like you reinvented textwrap::dedent? | 18:44:50 | |
| pennae: I did apparently! Although there's some special handling for the first line | 18:45:29 | |
| not sure the first line should be handled specially | 18:50:28 | |
| do you have an example where dedent would misbehave? | 18:50:39 | |
| pennae: For cases like
| 18:50:55 | |
that would be handled by dedent(...).trim() | 18:51:36 | |
| Also:
| 18:52:00 | |
In reply to @pennae:matrix.eno.spaceAhh 🤔 | 18:52:19 | |
| Yeah lemme try dedent then :) | 18:52:30 | |
In reply to @infinisil:matrix.orgthat too? dedent ignores the first line, the rest is dedented by two spaces | 18:52:31 | |
| pennae: Are you sure? The docs don't mention anything of that | 18:53:43 | |
| Anyways, I'll just try it out | 18:53:47 | |
| Yeah it doesn't treat the first line differently | 19:01:12 | |
| pennae: Was able to use it though, thanks for the suggestion, PR updated | 19:14:48 | |
| we do have an overabundance of doxygen-style comments in lib docs, we can't help but notice :D | 19:16:54 | |
| 21 Jul 2023 | ||
| 07:59:26 | ||
| 12:30:59 | ||