From ebc3be413c8fcc8a905e3adb7b6ef021cfc32765 Mon Sep 17 00:00:00 2001 From: Binary-Eater Date: Wed, 26 Jan 2022 01:23:20 -0800 Subject: [PATCH] nvidia-x11: add GNU which to buildInputs (#156203) This enables the runfile to successfully uncompress and extract without having to fallback to "unpackManually" in "builder.sh" --- pkgs/os-specific/linux/nvidia-x11/generic.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/generic.nix b/pkgs/os-specific/linux/nvidia-x11/generic.nix index ec83b472085d..3b4ed64bda07 100644 --- a/pkgs/os-specific/linux/nvidia-x11/generic.nix +++ b/pkgs/os-specific/linux/nvidia-x11/generic.nix @@ -17,7 +17,7 @@ }@args: { lib, stdenv, callPackage, pkgs, pkgsi686Linux, fetchurl -, kernel ? null, perl, nukeReferences +, kernel ? null, perl, nukeReferences, which , # 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. @@ -93,6 +93,7 @@ let libPath = libPathFor pkgs; libPath32 = optionalString i686bundled (libPathFor pkgsi686Linux); + buildInputs = [ which ]; nativeBuildInputs = [ perl nukeReferences ] ++ optionals (!libsOnly) kernel.moduleBuildDependencies;