Nvidia-vaapi-driver fails to build in recent nixos-23.11 updates

This is the only useful message I get when updating the flake.lock and trying to rebuild my system

error: builder for '/nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv' failed to produce output path for output 'out' at '/nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv.chroot/nix/store/8ww1xd1vkm9m4xvi4gdxjr0qw7l78l50-nvidia-vaapi-driver-0.0.11'

For reference, this is my configuration, ‘zephyrus’ target.

This is shown when nix-build /nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv is run:

❯ nix-build /nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv --show-trace
this derivation will be built:
  /nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv
building '/nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/1i6xa5i78x6ls7c30y0k3lazl1cs8kmp-source
source root is source
Running phase: patchPhase
applying patch /nix/store/6i7fl1ip1j4byc0rhwwfj73aqj6g5sx4-0001-hardcode-install_dir.patch
patching file meson.build
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
no Makefile or custom buildPhase, doing nothing
Running phase: glibPreInstallPhase
Running phase: installPhase
no Makefile or custom installPhase, doing nothing
Running phase: glibPreFixupPhase
Running phase: fixupPhase
/nix/store/9idj7kdhvm2m5ly0d6mnsalgsnnfccla-stdenv-linux/setup: line 326: /nix/store/8ww1xd1vkm9m4xvi4gdxjr0qw7l78l50-nvidia-vaapi-driver-0.0.11/lib/dri/nvidia_drv_video.so: No such file or directory
/nix/store/9idj7kdhvm2m5ly0d6mnsalgsnnfccla-stdenv-linux/setup: line 327: read: : invalid file descriptor specification
/nix/store/9idj7kdhvm2m5ly0d6mnsalgsnnfccla-stdenv-linux/setup: line 328: fd: ambiguous redirect
error: builder for '/nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv' failed to produce output path for output 'out' at '/nix/store/wxz34yi2w55cy0yvk3avs8awd8n4d2g7-nvidia-vaapi-driver-0.0.11.drv.chroot/nix/store/8ww1xd1vkm9m4xvi4gdxjr0qw7l78l50-nvidia-vaapi-driver-0.0.11'

1 Like

My nix-store was corrupted somehow. I deleted the whole /nix folder and run nixos-install again and got everything working as good as new

1 Like