Nix Documentation | 434 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 91 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jan 2024 | ||
| Just went through a rabbithole when creating a PR, and have a few questions that I think would be better asked here rather than spending even more time trying to dig things:
| 14:45:38 | |
| no problem's gonna be solved by me bitching in here, sorry, i should have kept it to myself. thanks for the intervention. i'll try to contribute meaningfully and regulate my aversion to various comms styles. | 15:45:20 | |
| I think your contribution was fine and valuable feedback to the team, I wouldn't like to lose out on those kinds of contributions personally | 16:01:12 | |
In reply to @danielsidhion:nixos.devNo idea about the first, but the second one oh no.. | 16:15:33 | |
| Indeed there should be commits to https://github.com/NixOS/nixos-homepage/commits/master/ every day to update the website with the latest versions, but this apparently broke.. | 16:15:58 | |
| Lol: https://github.com/NixOS/nixos-homepage/actions/runs/7496066602/job/20407403287#step:5:12 | 16:16:18 | |
| 16:16:29 | |
| Wait there's not even a deprecation message | 16:19:13 | |
| Wait what, the current latest version is 2.19.2, which does have a deprecation message (tried it locally):
| 16:21:25 | |
| Investigating.. | 16:22:34 | |
| danielsidhion: it's not on the list, but i'm starting to apply your function argument defintion list stuff to a PR I already have open... https://github.com/NixOS/nixpkgs/pull/277534/files | 16:27:35 | |
| Ohh, something really bad might be happening, the Nixpkgs master jobset doesn't exist anymore | 16:28:31 | |
| Never mind, it's just not listed in https://hydra.nixos.org/project/nixpkgs anymore, it does still exist: https://hydra.nixos.org/jobset/nixpkgs/trunk | 16:29:50 | |
In reply to @mcdonc:matrix.orgThis is amazing, thanks a lot! No need to update your PR again, but I just opened https://github.com/NixOS/nixpkgs/pull/280520 to add a few more conventions that I discussed in the latest meeting. | 16:31:33 | |
| great... i'll try to put that file in shape | 16:35:10 | |
In reply to @infinisil:matrix.orgFigured it out, 2.19.1 doesn't have the deprecation warning. Looks like that was only added in 2.19.2 | 16:35:37 | |
| And actually, the cachix-install-action was just updated to use 2.19.2 today, so maybe the homepage will update just by forcing a retry | 16:36:27 | |
| Trying it here: https://github.com/NixOS/nixos-homepage/actions/runs/7504900929/job/20432973247 | 16:37:21 | |
Should we update https://github.com/NixOS/nixos-homepage/blob/master/scripts/update.sh to use nix flake update instead of nix flake lock then? | 16:37:51 | |
| danielsidhion: I might do that yeah | 16:39:00 | |
| (If 2.19.1 actually supports that already) | 16:39:33 | |
| I think it does, if the docs I'm reading are right | 16:40:20 | |
| Yeah | 16:42:32 | |
| But it doesn't support updating multiple inputs in a single command :/ | 16:43:53 | |
| danielsidhion: if i could ask in context, it looks like https://github.com/NixOS/nixpkgs/pull/280520 adds an "Inputs" title... should there be a corresponding "Outputs"? | 16:45:16 | |
| Or I guess "Output" heh | 16:46:36 | |
| Add an "output/outputs" if it makes sense. The example I put there might be somewhat bad and need rework, because I had in mind a function that outputs a derivation, so "passthru outputs" makes more sense | 16:48:58 | |
| For lib-style functions it might make more sense to use "output/outputs" | 16:49:34 | |
| ok, i think that makes sense | 16:49:59 | |
| in that trivial builders file, we have sort of haskell-style "runCommand :: String -> AttrSet -> String -> Derivation" style of documenting inputs and outputs... i'm going to remove those and go with that | 16:51:23 | |