Nix Documentation | 418 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 86 Servers |
| Sender | Message | Time |
|---|---|---|
| 18 Dec 2023 | ||
In reply to @fricklerhandwerk:matrix.orgYes, I think this would be helpful. Especially as we do encourage people to make issues | 18:43:36 | |
| a lot happens through the weekly meeting đŽâđ¨ which is only fair | 18:44:39 | |
| 19 Dec 2023 | ||
In reply to @bzzm3r:matrix.orgyou know you can nix build -f . someAttr on non flakes yeah? | 00:04:04 | |
In reply to @jade_:matrix.orgYeah, I just don't like the nix3 cli. | 03:15:47 | |
| usability or personal? | 03:35:33 | |
| does anyone know how to run the individual phases in the nix.dev repo? i tried:
but it doesn't work, and | 13:56:14 | |
asymmetric: phases=buildPhase genericBuild should work | 14:22:18 | |
| asymmetric: See also https://nixos.org/manual/nixpkgs/stable/#sec-building-stdenv-package-in-nix-shell | 14:22:45 | |
| Ah I see you also commented in https://discourse.nixos.org/t/nix-build-phases-run-nix-build-phases-interactively/36090, which I also wanted to link :) | 14:23:46 | |
| fricklerhandwerk: can you help me understand the redirects file? so for example, here i see a redirect, but if i try to go to the redirected url, it 404s. the same doesn't happen with for exapmle this line | 15:57:28 | |
| * fricklerhandwerk: can you help me understand the redirects file? so for example, here i see a redirect, but if i try to go to the redirected url, it 404s. the same doesn't happen with for exapmle this line, which redirects correctly | 15:57:48 | |
| * fricklerhandwerk: can you help me understand the redirects file? so for example, here i see a redirect, but if i try to go to the redirected url, it 404s. the same doesn't happen with for exapmle this line, which redirects correctly | 15:58:26 | |
Download redirect.png | 15:59:20 | |
oic, it needs an extrension, /package-management/basic-package-management.html | 16:02:13 | |
it's a bit confusing, since the web server won't provide the redirect without the .html, but the netlify syntax doesn't require one | 16:03:26 | |
* it's a bit confusing, since the redirect won't work without the .html, but the netlify syntax doesn't require one | 16:05:46 | |
So basically, a url like https://nixos.org/manual/nix/stable/package-management/basic-package-mgmt will not redirect correctly, it has to have a .html at the end. is this known behavior? Or are there urls like this one that are now link-rotting? | 16:20:42 | |
| in general, URLs don't need an extension on nixos.org, e.g. both https://nixos.org/manual/nix/stable/command-ref/nix-env.html and https://nixos.org/manual/nix/stable/command-ref/nix-env work | 16:21:34 | |
In reply to @asymmetric:matrix.dapp.org.ukThe redirects in the Nix manual source have no effect yet. We merged that only recently and the PR to set them up on nix.dev doesnât work yet because last time I touched it we didnât have the right Nix builds in the binary cache | 17:38:33 | |
| So whatever youâre seeing happening on nixos.org is determined by the redirects there | 17:39:02 | |
In reply to @fricklerhandwerk:matrix.orgthe redirects do have an effect though? we must be talking about different things, because e.g. this line does have an effect, just in a surprising way, i.e. only if there's no .html extension, as i said above | 20:37:39 | |
In reply to @fricklerhandwerk:matrix.orgah ok, i get it, the redirect is coming from here | 20:43:16 | |
that also explains the .html behavior | 20:44:01 | |
| 20 Dec 2023 | ||
| Made a PR to add some extra info on a particular section of the testers chapter in the manual, and I noticed that the other sections there aren't using the newer example syntax, so my changes look a bit out of place. I could just move all examples in that chapter to the new syntax, but idk if it'd be ok to do it all in the same PR. Appreciate any thoughts: https://github.com/NixOS/nixpkgs/pull/275585 (I'll also be able to join the next meeting, so we could chat quickly about it there) | 08:04:35 | |
| https://github.com/executablebooks/sphinx-book-theme/releases/tag/v1.1.0 | 09:28:35 | |
| new release of the theme used on nix.dev | 09:28:43 | |
In reply to @danielsidhion:nixos.devNice one! Please don't do unrelated things in the same PR. A separate PR for a mechanical change is quick to review and merge independently. | 10:46:50 | |
| infinisil: (and others relevant) Based on my interpretation/understanding of how meetings work, I updated the collaborative scratchpad with agenda notes for the next meeting related to an issue that fricklerhandwerk invited me to discuss. Please feel free to correct it/move it, if I have misunderstood where it is supposed to land. I am not yet sure if I will show up to the meeting, due to other issues. | 22:50:18 | |
| bzm3r: Sounds good to me :) | 22:53:19 | |
| 21 Dec 2023 | ||
| Follow up PR to my previous question: migration of the other examples in this chapter to the new example style. I could use some help figuring out how to migrate that last example in the chapter. Too many names and concepts super close to each other making it harder. https://github.com/NixOS/nixpkgs/pull/275791 | 08:51:48 | |