nvidia-x11: add libelf to buildInputs

Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>

Changed files
+3 -1
pkgs
os-specific
linux
nvidia-x11
+3 -1
pkgs/os-specific/linux/nvidia-x11/generic.nix
···
}:
{ stdenv, callPackage, callPackage_i686, fetchurl, fetchpatch
-
, kernel ? null, xorg, zlib, perl, nukeReferences
+
, kernel ? null, libelf, xorg, zlib, perl, nukeReferences
, # Whether to build the libraries only (i.e. not the kernel module or
# nvidia-settings). Used to support 32-bit binaries on 64-bit
# Linux.
···
libPath = makeLibraryPath [ xorg.libXext xorg.libX11 xorg.libXv xorg.libXrandr zlib stdenv.cc.cc ];
nativeBuildInputs = [ perl nukeReferences ];
+
+
buildInputs = [ libelf ];
disallowedReferences = optional (!libsOnly) [ kernel.dev ];