Nix Documentation | 439 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 92 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Oct 2023 | ||
In reply to @asymmetric:matrix.dapp.org.uk Robert Hensing (roberth) wrote a proposal on changing that: https://github.com/NixOS/nixpkgs/issues/185234 I think it should be implemented as written. There's a pile of issues on module system docs, this is one of it. | 09:41:45 | |
In reply to @asymmetric:matrix.dapp.org.uk* Robert Hensing (roberth) wrote a proposal on changing that: https://github.com/NixOS/nixpkgs/issues/185234 I think it should be implemented as written. There's a pile of issues with the module system docs, this is one of it. | 09:42:05 | |
| * Robert Hensing (roberth) wrote a proposal on changing that: https://github.com/NixOS/nixpkgs/issues/185234 I think it should be implemented as written. | 09:42:24 | |
| I’ll only be in the meeting for the first half hour today because of a conflicting appointment | 11:16:47 | |
In reply to @fricklerhandwerk:matrix.orgthanks! i'ld love to discuss some of this stuff on thu (i can't attend today) | 12:55:00 | |
| oops, was meant as a reply to the post above 😉 | 12:55:11 | |
| 25 Oct 2023 | ||
| 00:13:04 | ||
| I've been upgrading NixOS. On the good side, I've had options that other distros didn't offer but I still broke stuff! Badly! I finally tracked down that "virtualisation.libvirtd.qemu.ovmf.package = pkgs.OVMFFull" updated the version of OVMF_CODE.fd which subsequently caused virtual domains using UEFI to no longer successfully boot. This is likely related to a change in size of the nvram, and starting the domains with the virsh --reset-nvram option allowed them to boot. I also needed to then go into the UEFI config and update the display resolution in order to see the actual boot process. This took hours to work through - is it worth documenting anywhere for others because I couldn't find much. Also I am still on NixOS 22.05 - Trying to get to 23.05, so my issues maybe 'out-of-date' but they got me! | 10:00:05 | |
| fsbof: Sounds like that should be added (if it's not already) to the 23.05 release notes. There's a breaking changes section | 10:02:31 | |
| I did look in the release notes and could only find two mentions of OVMF changes in 22.11 and 21.11 | 10:06:09 | |
| I also managed to break it with out needing to upgrade the NixOS version - just by add the line above to configuration.nix in 22.05 when it previously didn't exist. | 10:08:34 | |
| I guess what I am saying is it could happen in two situations | 10:08:56 | |
| Making a PR to the release notes for both cases would be good imo | 10:09:42 | |
| For the the first release where each became a problem | 10:10:07 | |
| Can you guide me through the process - happy to do it, just haven't done it before | 10:10:13 | |
| Please include details about how did you narrow down to this, it's complicated when release notes misidentify the root cause | 10:10:32 | |
| We have similar OVMF bumps for 23.11 and they will be breaking a lot of shit without any recourse I think because EDK2 maintainers seems to have broken a lot of stuff with OpenSSL 3 bumps | 10:11:21 | |
| raitobezarius: Yes - I am concerned that 'getting it working' isn't really the same as finding a problem! My configuration could have been broken to start with! It has been a steep learning curve but very worth it. | 10:12:30 | |
| fsbof: On my phone right now, but release note sources are here: https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual/release-notes Github allows you to edit files right online and then make a PR for that: https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files#editing-files-in-another-users-repository | 10:12:47 | |
| I'd recommend NixOS Wiki personally for "unbreaking recipes" than release notes | 10:12:57 | |
| Especially when touching older ones | 10:13:02 | |
| We usually archive older release notes after a while | 10:13:09 | |
| suggestion - how about I write something up - put it in the Wiki and let you two see what you reckon? | 10:13:52 | |
| If it is worth the PR I can go from there | 10:14:09 | |
| The NixOS wiki shouldn't really be used anymore though, it's not maintained at all | 10:14:13 | |
| If not the release notes, nix.dev could be an alternative | 10:14:35 | |
| Which is maintained by the docs team | 10:15:19 | |
| I'm not sure all the unbreaking recipes will be maintained / accepted by nix.dev, but if so, that's great news | 10:16:20 | |
| As a member of the docs team, I think having a page for that would be fitting :) | 10:16:51 | |
| And actually there is already: https://nix.dev/recipes/troubleshooting | 10:17:20 | |