[Fatal Error Bug Report] Failed to build NVIDIA Nixgl Drivers
dnkmmr69420 opened this issue · 3 comments
dnkmmr69420 commented
Here is my error
error: builder for '/nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv' failed with exit code 2;
last 10 log lines:
> Verifying archive integrity... OK
> Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 729: /build/makeself.ZYlnAtA5/zstd: No such file or directory
> tail: error writing 'standard output': Broken pipe
> /nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address
>
> Terminated
> xz: (stdin): File format not recognized
> tail: error writing 'standard output': Broken pipe
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
For full logs, run 'nix log /nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv'.
error: 1 dependencies of derivation '/nix/store/cpx61md1wgh926qvljijalsyjlkny1nj-nixGLNvidia-530.41.03.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0s46cygkxjny6jm5cljc86mr0gxzs8hd-nixGL.drv' failed to build
This is running on fedora silverblue
dnkmmr69420 commented
the log
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/xg6fkrij6pm4dkxghp6lnhlb5b4dk82g-nvidia-x11-530.41.03-nixGL.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address
Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
ESCOD
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address
Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
ESCOD
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
tail: error writing 'standard output': Broken pipe
Creating directory NVIDIA-Linux-x86_64-530.41.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 530.41.03/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Lin>
tail: error writing 'standard output': Broken pipe
/nix/store/di2va099dlad32771wznbk9pjl1b57pl-NVIDIA-Linux-x86_64-530.41.03.run: line 720: /dev/tty: No such device or address
Terminated
xz: (stdin): File format not recognized
tail: error writing 'standard output': Broken pipe
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-14/14 (END)
wentasah commented
Using current nixpkgs-unstable seems to fix this problem. Running the following works for me:
NIXPKGS_ALLOW_UNFREE=1 nix run --impure --override-input nixpkgs nixpkgs/nixos-unstable github:guibou/nixGL
movefasta commented
Using current nixpkgs-unstable seems to fix this problem. Running the following works for me:
NIXPKGS_ALLOW_UNFREE=1 nix run --impure --override-input nixpkgs nixpkgs/nixos-unstable github:guibou/nixGL
Additional info: i face an issue with flake.lock file, because nixpkgs was pinned in my flake registry. Unpin nixpkgs solved this.