nvidia-x11: add libelf to buildInputs

Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
This commit is contained in:
Christoph Hrdinka 2017-12-28 13:16:26 +01:00
parent 097719147a
commit d1bfa7ee08
No known key found for this signature in database
GPG key ID: 39391E2F20458287

View file

@ -12,7 +12,7 @@
}:
{ 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.
@ -64,6 +64,8 @@ let
nativeBuildInputs = [ perl nukeReferences ];
buildInputs = [ libelf ];
disallowedReferences = optional (!libsOnly) [ kernel.dev ];
passthru = {