21.05 Has been Released!

NixOS 21.05 released

Hey everyone, I’m Jonathan Ringer, the release manager for 21.05. As promised, the latest stable release is here: NixOS 21.05 “Okapi”.

The 21.05 release was possible due to the efforts of 1745 contributors in 33474 commits. We would especially like to thank our top 10 contributors: Fabian Affolter, Frederik Rietdijk, Sandro Jäckel, Tim Steinbach, Jonathan Ringer, Martin Weinelt, Mario Rodas, Robert Schütz, Jan Tojnar, Sterni.

NixOS is already known as the most up to date distribution and is in the top three by total number of packages.

This didn’t stop us. In the last six months:

  • 12985 packages were added
  • 14109 packages were removed
  • 16768 packages were updated

Likewise, our NixOS module system got bigger and better:

  • 1527 options were added
  • 290 options removed
  • 400 options were updated

Stabilization Contributors

Stabilization of the NixOS happens a month before the planned release. The goal is to have as little as possible continuous integration (Hydra) jobs failing before the release is cut.

Individuals who contributed to stabilizing this release: Fabian Affolter, Sterni, Stéphan Kochen, Robert Schütz, Martin Weinelt, Jonathan Ringer, Alyssa Ross, Andrew Childs, Thomas Tuegel, Malte Brandy, and 431 others!

Special Thanks

I would like to give a special thanks to Jan Tojnar and others for the Gnome 40 stabilization effort. Another special thanks should be given to Thomas Tuegel and many others for bringing Plasma 5.21 to NixOS.

Reflections and Closing

I think the RFC80 and RFC85 changes to the release process were successful in limiting risk and making the release more deterministic. This is the first release since 17.03 to have released in the intended month, although the rendered manual and official announcement were delayed a day. In the future, I hope to make the release as “boring” as possible, and have it be a time to improve the quality of nixpkgs’ unstable and stable channels.

NixOS announcement: NixOS - Blog → Announcements

EDIT: markup cleanup

77 Likes

I just downloaded the Gnome version and it landed in a grub prompt. No GUI.

1 Like

Got the same outcome as @etrigan63, a grub prompt shell when using the Gnome image.

looks like iso-image: Fix issues with UEFI installer image by samueldr · Pull Request #124076 · NixOS/nixpkgs · GitHub wasn’t backported

2 Likes

Thanks for this pointer. I tried the minimal version and end up with the same result too.

At the very least, that’s the only PR which touched nixos/modules/installer/cd-dvd after branchoff

Hi, I just downloaded the ISO and ran into the same issue. Sorry if I don’t understand the release process very well, but do we have an estimate when the ISO will be updated? Thank you so much!

You can download the image with the fixes here or use this direct link.

We are waiting on just 1 build to finish (ungoogled-chrome) https://hydra.nixos.org/eval/1675052#tabs-unfinished

3 Likes

A new channel release has happened, the website (still) points to the latest image, which now has the fixes.

3 Likes

Hello @jonringer,

i’m trying to install nixos 21.05 (current website links)

  • The desktop is “standard ThinkStation” + nvidia gpu

plasma 5

  • shows the usb boot screen but after pressing enter → the normal boot of the current installation (with ssd password)

gnome

  • start into tty
    – after switch (alt + F7) there is the login - nixos user - clicking this user → black screen with frozen mouse

cc @jtojnar for gnome issues.

but do you mind taking a look at systemctl status display-manager.service? may show why it was failing to launch the display manager

Gdm: GdmDisplay: Session never registered, failing 
gkr-pam: couldn't change password for the login keyring.


journalctl -xb | grep -i error
nixos kernel: error: unable to locate IOAPIC for GSI -1

dmesg | grep -i ioapic

looks like gnome-keyring-daemon has issues.

is services.gnome.gnome-keyring.enable = true; set?

nixos-option services.gnome.gnome-keyring.enable
Value: true

how can I get to know what issue these is ?

the configuration builds on the old system

  • P330 (with older channel) but
    does not build with
  • P340 and nixos-plasma5-21.05.1510.a165aeceda9-x86_64-linux.iso (downloaded today)
copying path '/nix/store/ymj01yr6zds4vsg3xvyxy2bykd2wdpvx-libcddb-1.3.2' to 'local'...
getting attributes of path '/nix/store/rb2idnbk0ni2f58z11hc370w2iy60x0n-hwdata-0.347': No such file or directory
copying path '/nix/store/nligd41z7y37qhfpwzzy1i1nwiy28arn-bubblewrap-0.4.1' to 'local'...
copying path '/nix/store/m8jp6c1zkg539lvqzlvz362cx04ly8z6-libcap-2.48' to 'local'...
copying path '/nix/store/8ra1khxxcjvvcbsw8impa7p62r8vhh11-libcerf-2.0' to 'local'...
copying path '/nix/store/jsyginpqkjshw1s0996h5a1986x270v0-iputils-20210202' to 'local'...
copying path '/nix/store/1k6bd8abrdapqfx1zxr0zr3sfsidh9k2-libdaemon-0.14' to 'local'...
copying path '/nix/store/7b4x9kird0xb913k17sbhmvzzb5mgp21-libconfig-1.7.2' from 'https://cache.nixos.org'...
copying path '/nix/store/r0gxi1p9wf430x9zpc0fk9mdykpk5qpc-libconfuse-3.3' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/6shmfmmz236smypd7az58c2hhdrwfxdb-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ynxcdszrcs0k2wr855lfsspkyi4jb05q-nixos-system-nixosP34-21.05.1510.a165aeceda9.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ynxcdszrcs0k2wr855lfsspkyi4jb05q-nixos-system-nixosP34-21.05.1510.a165aeceda9.drv' failed

ps:
before there ware issue like :

attribute 'plasma5' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/security/pam.nix:968:14

cannot build derivation '/nix/store/118kbyg0k9hal5jawr397h2q0jdqqcyv-unit-lxd.service.drv': 1 dependencies couldn't be built

  • without any override or so used - only vanilla config

trying to minimize all

  • still it fails with
cannot build derivation '/nix/store/abvns8rrx7xhz9mj10v1cs727cdcl00z-nvidia-settings-460.73.01.drv': 1 dependencies couldn't be built
copying path '/nix/store/9asanm1rzj0jd1a8pqm4bjvy5lrfifss-webrtc-audio-processing-0.3.1' to 'local'...
copying path '/nix/store/4flbwghn930vyx0s70d29xr5wgp35sz3-vpnc-scripts-c0122e8' to 'local'...
copying path '/nix/store/anygfm6fab9v1n30gw3vqwm2gnk6jfhq-vulkan-loader-1.2.162.0' to 'local'...
copying path '/nix/store/r1pm2z0p922a02gcwwa1g67vvpdlddyn-which-2.21' to 'local'...
copying path '/nix/store/pi3qrhfw5cax0ba6gsj1ivfpldidhfx4-x265-3.4' to 'local'...
copying path '/nix/store/ykd2q7cjrwwxvndf7zzs91c4lykhgc5w-x264-20191217-2245-lib' to 'local'...
cannot build derivation '/nix/store/1ff32rag6ls9c8iy1ib3w3ldvp94p1b8-system-path.drv': 1 dependencies couldn't be built
copying path '/nix/store/1bpn1yxnjf5ls983i0mhh69p14l3c2zz-xcb-util-keysyms-0.4.0' to 'local'...
copying path '/nix/store/35xf07y1wzmi3lsprmnyqizv4bdhnm37-xcb-util-0.4.0' to 'local'...
cannot build derivation '/nix/store/7a4bw5i4603jwv3bpl5sn8fcvbhvlw70-nixos-system-nixos-21.05.1510.a165aeceda9.drv': 1 dependencies couldn't be built
error: build of '/nix/store/7a4bw5i4603jwv3bpl5sn8fcvbhvlw70-nixos-system-nixos-21.05.1510.a165aeceda9.drv' failed

cannot build derivation '/nix/store/cw3c4rrcndarlicfc0wdjx82byz87p3q-nvidia-settings-460.73.01.drv': 1 dependencies couldn't be built

This looks like nixos-install fails with getting attributes of path /nix/store/...: No such file or directory · Issue #126141 · NixOS/nixpkgs · GitHub. Current “work-around” is to build the configuration locally before doing the nixos-install command.

nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=/mnt/etc/nixos/configuration.nix
nixos-install

I saw that thread but did a mistake with c&p - thanks

Still there are some issues:

  • black screen after LVM passwort for ssd
  • tipping blind the password for the user
  • login works and display comes back
  • but after opening ~three applications (like internet browser, terminal, kate) ~ dolphin did not open after click
  • the system (e.g. time widget, browser, terminal) is frozen (but mouse can be moved)

→ system display freeze happens after a random time - even only navigating in discourse.nixos in opera

  • terminal can be opened and is working (but display is not showing any change)

after omitting nvidia it appears to be more stable regarding the total freeze

  • but background is not getting shown and panel is not clickable → like state issues left over even if nvidia gets left out of config in the later switch …

Seems like folks are experiencing lots of issues w/ the live images. I have an experience report to add: Problems installing from 21.05 image

This was a non-uefi install.

Perfectly happy to try again later, after I’ve distanced myself for a bit.