nix-community / nixGL

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

"`linuxPackages.nvidia_x11` does not contain `buildInputs`" error when building NVIDIA wrappers. #173

Closed 2goodAP closed 2 months ago

2goodAP commented 2 months ago

Non-NVIDIA wrappers build just fine, it's just the NVIDIA wrappers that throw the following error.

image

The problem seems to be in the following section.

image

Also, a NixOS module exposes mkDriver function for building nvidia drivers. Could we use that here instead of overriding the nvidia_x11 package?

Nixpkgs version: 2b6ee326ad047870526d9a3ae88dfd0197da898d (nixpkgs-unstable) Nix version: 2.13.3 Host OS: Ubuntu 24.04 Beta

kenranunderscore commented 2 months ago

Duplicate of #172?

2goodAP commented 2 months ago

Oops! I seem to have opened the same issue twice. Sorry.