about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2024-02-01 12:14:18 +0100
committerLinus Heckemann <git@sphalerite.org>2024-02-01 12:14:18 +0100
commit83085e6381e023e225ca9168c46b099262d11883 (patch)
tree2085f031cfcd3390648a94bb8f8a2a043e50d01a
parentbbe7d8f876fbbe7c959c90ba2ae2852220573261 (diff)
cudaPackages.cudatoolkit: add libglvnd to inputs
At least some of the older versions (we noticed the problem with 11.4)
need libEGL.so. libglvnd seems like the obvious place to get it.
-rw-r--r--pkgs/development/cuda-modules/cudatoolkit/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/cuda-modules/cudatoolkit/default.nix b/pkgs/development/cuda-modules/cudatoolkit/default.nix
index 57d1a0461e13f..aca0c7ad0b78f 100644
--- a/pkgs/development/cuda-modules/cudatoolkit/default.nix
+++ b/pkgs/development/cuda-modules/cudatoolkit/default.nix
@@ -44,6 +44,7 @@
   rdma-core,
   ucx,
   rsync,
+  libglvnd,
 }:
 
 let
@@ -123,6 +124,7 @@ backendStdenv.mkDerivation rec {
       unixODBC
       alsa-lib
       wayland
+      libglvnd
     ]
     ++ lib.optionals (lib.versionAtLeast version "11.8") [
       (lib.getLib libtiff)