diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index ba5f01b843bb..dfbc50ab8684 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -7,8 +7,8 @@ , removeReferencesTo , btop , testers +, autoAddDriverRunpath , cudaSupport ? config.cudaSupport -, cudaPackages , rocmSupport ? config.rocmSupport , rocmPackages }: @@ -24,8 +24,10 @@ stdenv.mkDerivation rec { hash = "sha256-kjSyIgLTObTOKMG5dk49XmWPXZpCWbLdpkmAsJcFliA="; }; - nativeBuildInputs = [ cmake ] ++ lib.optionals cudaSupport [ - cudaPackages.autoAddDriverRunpath + nativeBuildInputs = [ + cmake + ] ++ lib.optionals cudaSupport [ + autoAddDriverRunpath ]; buildInputs = lib.optionals stdenv.isDarwin [