!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

436 Members
Discussion about documentation improvements around the Nix ecosystem93 Servers

Load older messages


SenderMessageTime
21 Jul 2023
@asymmetric:matrix.dapp.org.ukasymmetric This RFC proposing documenting support tiers got merged, but I can't find any mention of support tiers in nixpkgs+nixos manuals. Am I looking in the wrong place? 16:41:50
@infinisil:matrix.orginfinisil asymmetric: RFC 46 introduced the support tiers: https://github.com/NixOS/rfcs/pull/46 16:43:48
@infinisil:matrix.orginfinisilMaybe it was never properly implemented by documenting it anywhere..16:44:00
@infinisil:matrix.orginfinisil(other than the RFC)16:44:04
@asymmetric:matrix.dapp.org.ukasymmetricyeah, that's what i'm thinking.. ☹️16:44:26
@asymmetric:matrix.dapp.org.ukasymmetricit's kinda suprising how sometimes RFC end up merged but not implemented /rant16:44:52
@asymmetric:matrix.dapp.org.ukasymmetric * it's kinda suprising how sometimes RFCs end up merged but not implemented /rant16:44:57
@asymmetric:matrix.dapp.org.ukasymmetricthis seems to be the last state of the conversation re: documenting the tiers: https://github.com/NixOS/rfcs/pull/46#issuecomment-66901914816:46:37
@infinisil:matrix.orginfinisilOnly like 3 years too late 🙃16:47:15
@toonn:matrix.orgtoonn asymmetric: When I tried getting something started (https://github.com/NixOS/nixpkgs/pull/143732) there was not much motivation to discuss past "these strings aren't informative enough." 22:21:45
@raitobezarius:matrix.orgraitobezariusI think implementing directly22:36:30
@raitobezarius:matrix.orgraitobezarius

I'm not sure that lib/systems/supported.nix contains sufficient information to serve as the platform tier list. This file is just the system doubles, and the support tier needs to take into account libc (musl/glibc), static/dynamic linking, gcc/clang, ABI, etc. If anything I think lib/systems/supported.nix would be autogenerated from the platform list, rather than the other way around.

22:36:31
@raitobezarius:matrix.orgraitobezarius *

I'm not sure that lib/systems/supported.nix contains sufficient information to serve as the platform tier list. This file is just the system doubles, and the support tier needs to take into account libc (musl/glibc), static/dynamic linking, gcc/clang, ABI, etc. If anything I think lib/systems/supported.nix would be autogenerated from the platform list, rather than the other way around.

22:36:33
@raitobezarius:matrix.orgraitobezariuswould probably fly22:36:36
@raitobezarius:matrix.orgraitobezariusI am very interested into that too22:36:41
@raitobezarius:matrix.orgraitobezariusI can help reviewing, etc.22:36:44
@nasrally:matrix.org@nasrally:matrix.org joined the room.23:48:10
22 Jul 2023
@asymmetric:matrix.dapp.org.ukasymmetricAs soon as I’m back at my laptop I’ll look into this too, it should def be documented. It’s sad that the best documentation for this is the wiki12:35:20
@toonn:matrix.orgtoonn raitobezarius: supported.nix has since been disappeared from the repo. 13:22:01
@toonn:matrix.orgtoonn That issue wasn't even meant as a draft of an implementation really. Just *something* to start discussion. 13:23:13
@toonn:matrix.orgtoonn Looks like supported.nix was kinda replaced by https://github.com/NixOS/nixpkgs/blob/master/lib/systems/flake-systems.nix 13:37:01
@toonn:matrix.orgtoonn Which is now just a flat list with comments indicating support tiers. 13:37:22
@asymmetric:matrix.dapp.org.ukasymmetricbtw i'veopened a separate issue for this, lmk if it's a duplicate of something else https://github.com/NixOS/nixpkgs/issues/24468618:53:52
@toonn:matrix.orgtoonn asymmetric: Oh, just pinged you on the PR I updated. 20:44:16
24 Jul 2023
@i97henka:matrix.orghenrik-chI won't be able to join today's meeting. Have a good session!13:32:55
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @toonn:matrix.org
asymmetric: Oh, just pinged you on the PR I updated.
i'm primarily interested in documenting the tiers in the manual, as that's where most users would go and check, imo. the manual could/should reference the location in nixpkgs where this is codified, if one exists. Not sure where that would be, after reading amjoseph's review
13:54:19
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @toonn:matrix.org
asymmetric: Oh, just pinged you on the PR I updated.
* i'm primarily interested in documenting the tiers in the manual, as that's where most users would go and check, imo. the manual could/should reference the location in nixpkgs where this is codified, if one exists. Not sure where that would be though, after reading amjoseph's review
13:54:36
@proofconstruction:matrix.orgproofconstructionWon't be at the meetings today or Thursday, taking a break from computers to go fishing (stream processing)19:17:53
@proofconstruction:matrix.orgproofconstructionWell I guess that sent late. Anyway19:18:11
@infinisil:matrix.orginfinisilhttps://github.com/NixOS/nixpkgs/pull/24524321:34:00

Show newer messages


Back to Room ListRoom Version: 6