!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

421 Members
Discussion about documentation improvements around the Nix ecosystem83 Servers

Load older messages


SenderMessageTime
23 Oct 2023
@asymmetric:matrix.dapp.org.ukasymmetric
In reply to @fricklerhandwerk:matrix.org
I’ll only be in the meeting for the first half hour today because of a conflicting appointment
thanks! i'ld love to discuss some of this stuff on thu (i can't attend today)
12:55:00
@asymmetric:matrix.dapp.org.ukasymmetricoops, was meant as a reply to the post above 😉12:55:11
25 Oct 2023
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.00:13:04
@fsbof:matrix.orgfsbofI'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
@infinisil:matrix.orginfinisil 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
@fsbof:matrix.orgfsbofI did look in the release notes and could only find two mentions of OVMF changes in 22.11 and 21.1110:06:09
@fsbof:matrix.orgfsbofI 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
@fsbof:matrix.orgfsbofI guess what I am saying is it could happen in two situations10:08:56
@infinisil:matrix.orginfinisilMaking a PR to the release notes for both cases would be good imo10:09:42
@infinisil:matrix.orginfinisilFor the the first release where each became a problem10:10:07
@fsbof:matrix.orgfsbofCan you guide me through the process - happy to do it, just haven't done it before10:10:13
@raitobezarius:matrix.orgraitobezariusPlease include details about how did you narrow down to this, it's complicated when release notes misidentify the root cause10:10:32
@raitobezarius:matrix.orgraitobezariusWe 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 bumps10:11:21
@fsbof:matrix.orgfsbof 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
@infinisil:matrix.orginfinisil

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
@raitobezarius:matrix.orgraitobezariusI'd recommend NixOS Wiki personally for "unbreaking recipes" than release notes10:12:57
@raitobezarius:matrix.orgraitobezariusEspecially when touching older ones10:13:02
@raitobezarius:matrix.orgraitobezariusWe usually archive older release notes after a while10:13:09
@fsbof:matrix.orgfsbofsuggestion - how about I write something up - put it in the Wiki and let you two see what you reckon?10:13:52
@fsbof:matrix.orgfsbofIf it is worth the PR I can go from there10:14:09
@infinisil:matrix.orginfinisilThe NixOS wiki shouldn't really be used anymore though, it's not maintained at all10:14:13
@infinisil:matrix.orginfinisilIf not the release notes, nix.dev could be an alternative10:14:35
@infinisil:matrix.orginfinisilWhich is maintained by the docs team10:15:19
@raitobezarius:matrix.orgraitobezariusI'm not sure all the unbreaking recipes will be maintained / accepted by nix.dev, but if so, that's great news10:16:20
@infinisil:matrix.orginfinisilAs a member of the docs team, I think having a page for that would be fitting :)10:16:51
@infinisil:matrix.orginfinisilAnd actually there is already: https://nix.dev/recipes/troubleshooting10:17:20
@fsbof:matrix.orgfsbofOh my - I don't think I've really looked at nix.dev... I do not envy the job of the docs team!10:19:40
@infinisil:matrix.orginfinisil
In reply to @fsbof:matrix.org
Oh my - I don't think I've really looked at nix.dev... I do not envy the job of the docs team!
Eh, it's not too bad, but help appreciated! It's become official recently, and it's being worked on continuously, but as every part of the Nix ecosystem, resources are comstrained :)
10:23:29
@infinisil:matrix.orginfinisil
In reply to @fsbof:matrix.org
Oh my - I don't think I've really looked at nix.dev... I do not envy the job of the docs team!
* Eh, it's not too bad, but help appreciated! It's become official recently, and it's being worked on continuously, but as with every part of the Nix ecosystem, resources are constrained :)
10:23:52
@fsbof:matrix.orgfsbofI just tried to suggest a change to the troubleshooting page above, but it wants me to 'fork' a repository! My git skills are still very basic (still using SVN <ducks>)10:26:24

Show newer messages


Back to Room ListRoom Version: 6