From 70afa1fea219349ac977a15a616e15c7129cc0ee Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 30 Mar 2024 11:13:23 -0700 Subject: [PATCH] btop: use pkgs.autoAddDriverRunpath --- pkgs/tools/system/btop/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 [