Skip to content

Commit 70afa1f

Browse files
author
Jonathan Ringer
committed
btop: use pkgs.autoAddDriverRunpath
1 parent beb6277 commit 70afa1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkgs/tools/system/btop/default.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
, removeReferencesTo
88
, btop
99
, testers
10+
, autoAddDriverRunpath
1011
, cudaSupport ? config.cudaSupport
11-
, cudaPackages
1212
, rocmSupport ? config.rocmSupport
1313
, rocmPackages
1414
}:
@@ -24,8 +24,10 @@ stdenv.mkDerivation rec {
2424
hash = "sha256-kjSyIgLTObTOKMG5dk49XmWPXZpCWbLdpkmAsJcFliA=";
2525
};
2626

27-
nativeBuildInputs = [ cmake ] ++ lib.optionals cudaSupport [
28-
cudaPackages.autoAddDriverRunpath
27+
nativeBuildInputs = [
28+
cmake
29+
] ++ lib.optionals cudaSupport [
30+
autoAddDriverRunpath
2931
];
3032

3133
buildInputs = lib.optionals stdenv.isDarwin [

0 commit comments

Comments
 (0)