New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running nix-shell with nixGL on archlinux #127
Comments
I also encountered this with nixGL c917918 on Arch, after the 530.41.03 upgrade: $ nix log /nix/store/0ylgpj1qa2dam32kk1wmbkhs090763q4-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-Linux-x86_64-530.41.03.run: line 729: /build/makeself.JnUYrn8b/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
tar: This does not look like a tar archive
tail: error writing 'standard output': Broken pipe
tar: Exiting with failure status due to previous errors |
Turns out it's not a nixgl issue and has been fixed in nixpkgs: NixOS/nixpkgs#222762 If anybody uses a flake-based environment like me, here's how I fixed this: I added a input # ...
let
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
cudaSupport = true;
packageOverrides = pkgs: {
linuxPackages = (import inputs.nixpkgs-with-nvidia-driver-fix {}).linuxPackages;
};
};
overlays = [
inputs.nixgl.overlays.default
jaxOverlays
];
};
in
# ... |
I had the same issues until yesterday, seems they pushed the PR and it is now fixed. |
I am still the same issue, i am using ubuntu 22.04 with flakes.
|
I'm getting this when trying to step into nix:
my host nvidia driver is 530.41.03-1, nix 2.14-1
The text was updated successfully, but these errors were encountered: