nix-community / nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou]
712 stars 81 forks source link

nixGLNvidia installation is broken #169

Closed jankrejci closed 6 months ago

jankrejci commented 7 months ago

Installation of the NVIDIA-Linux-x86_64-470.239.06 driver through the nixGL is broken. The bsdtar dependency is missing

Steps to reproduce the behavior: nix-env -iA nixgl.auto.nixGLNvidia

Build log

error: builder for '/nix/store/skwg6inwprh9wmkvx5vi2rb9y014p8y3-nvidia-x11-470.239.06-nixGL.drv' failed with exit code 127;
       last 11 log lines:
       > Running phase: unpackPhase
       > tail: error writing 'standard output': Broken pipe
       > Creating directory NVIDIA-Linux-x86_64-470.239.06
       > Verifying archive integrity... OK
       > Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 470.239.06/nix/store/vmm1c1bwzn9s5m8dgcwlviym7n1lkhwm-NVIDIA-Linux-x86_64-470.239.06.run: line 728: /build/makeself.XjK0VJG0/xz: cannot execute: required file not found
       > tail: error writing 'standard output': Broken pipe
       > /nix/store/vmm1c1bwzn9s5m8dgcwlviym7n1lkhwm-NVIDIA-Linux-x86_64-470.239.06.run: line 719: /dev/tty: No such device or address
       >
       > Terminated
       > /nix/store/pxvl01q3az1543jx1vzzj3ap2jkpkhx5-builder.sh: line 6: bsdtar: command not found
       > tail: error writing 'standard output': Broken pipe
       For full logs, run 'nix log /nix/store/skwg6inwprh9wmkvx5vi2rb9y014p8y3-nvidia-x11-470.239.06-nixGL.drv'.
error: 1 dependencies of derivation '/nix/store/rhwjvy67xap07260yh5p0p6qrwbpa3yg-nixGLNvidia-470.239.06.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vgg6m9py1ydn8ddypxbjjbd95ac6fp9p-nixGL.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0ngc4rbxsdkm7r9mkm8sdqz18xvi3qs6-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pyc8vmfvdrjhrvjs07sbwd42sly9gbri-home-manager-generation.drv' failed to build

Additional context

It was probably introduced with 91f99f14ff83b3 in NixOS/nixpkgs

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.0-26-generic, Ubuntu, 23.10 (Mantic Minotaur), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.3`
 - nixpkgs: `/nix/store/vsmj7776ik51zzkyy22ydl00ib2w1rpp-source`
jankrejci commented 6 months ago

Resolved with the #165