linuxPackages.nvidia_x11: add support for zstd compression
This commit is contained in:
@@ -3,7 +3,7 @@ source $stdenv/setup
|
||||
|
||||
unpackManually() {
|
||||
skip=$(sed 's/^skip=//; t; d' $src)
|
||||
tail -n +$skip $src | xz -d | tar xvf -
|
||||
tail -n +$skip $src | bsdtar xvf -
|
||||
sourceRoot=.
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
}@args:
|
||||
|
||||
{ lib, stdenv, callPackage, pkgs, pkgsi686Linux, fetchurl
|
||||
, kernel ? null, perl, nukeReferences, which
|
||||
, kernel ? null, perl, nukeReferences, which, libarchive
|
||||
, # 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.
|
||||
@@ -98,8 +98,7 @@ let
|
||||
libPath = libPathFor pkgs;
|
||||
libPath32 = optionalString i686bundled (libPathFor pkgsi686Linux);
|
||||
|
||||
buildInputs = [ which ];
|
||||
nativeBuildInputs = [ perl nukeReferences ]
|
||||
nativeBuildInputs = [ perl nukeReferences which libarchive ]
|
||||
++ optionals (!libsOnly) kernel.moduleBuildDependencies;
|
||||
|
||||
disallowedReferences = optionals (!libsOnly) [ kernel.dev ];
|
||||
|
||||
Reference in New Issue
Block a user