nix-community / nixGL

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

Installation fails with missing dlls #107

Open ShrykeWindgrace opened 2 years ago

ShrykeWindgrace commented 2 years ago

Hi!

Thanks for this wrapper, it makes my nix life easier!

I pull latest nixGL via nix-channels

$ nix-channel --list
home-manager https://github.com/rycee/home-manager/archive/master.tar.gz
nixgl https://github.com/guibou/nixGL/archive/main.tar.gz
nixpkgs https://nixos.org/channels/nixpkgs-unstable

and handle installation it in my home-manager config as

  home.packages = with pkgs; [
   # other stuff
    (import <nixgl>{}).auto.nixGLNvidia];

Today after a channel update and a switch of generation I get

building '/nix/store/ywpy6pnjdc2gh9jycnyjlmr1i0q12vkq-nvidia-x11-460.91.03-nixGL.drv'...
unpacking sources
Creating directory NVIDIA-Linux-x86_64-460.91.03
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 460.91.03...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
source root is NVIDIA-Linux-x86_64-460.91.03
setting SOURCE_DATE_EPOCH to timestamp 1625206961 of file NVIDIA-Linux-x86_64-460.91.03/.manifest
patching sources
configuring
no configure script, doing nothing
building
installing
install: cannot stat 'nvngx.dll': No such file or directory
install: cannot stat '_nvngx.dll': No such file or directory
error: builder for '/nix/store/ywpy6pnjdc2gh9jycnyjlmr1i0q12vkq-nvidia-x11-460.91.03-nixGL.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/bbygj3ri7c2wd2x8hbcmcmzz3214x9il-nixGLNvidia-460.91.03.drv' failed to build
error: 1 dependencies of derivation '/nix/store/177dvwwb8a2hf3nphaw45ysah4vwih35-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/218p89cdv0c5mligv1l68skhl0k165h9-home-manager-generation.drv' failed to build

What can I do to debug this issue? I run a debian with nix-as-package-manager.

portothree commented 2 years ago

I'm experiencing the same after updating my flake.lock with the following diff:

-    "lastModified": 1653311504,
-    "narHash": "sha256-4/EOfhL9gRAhUlC57DEQyg74RrcXPG8TTUDF8G7l6OY=",
+    "lastModified": 1656321324,
+    "narHash": "sha256-Sz0uWspqvshGFbT+XmRVVayuW514rNNLLvrre8jBLLU=",
     "owner": "guibou",
     "repo": "nixGL",
-    "rev": "3214ffead3934d1d8873657fdde4a4527078f9f6",
+    "rev": "047a34b2f087e2e3f93d43df8e67ada40bf70e5c",
     "type": "github"