Commit 70afa1fe authored by Jonathan Ringer's avatar Jonathan Ringer Committed by Jonathan Ringer
Browse files

btop: use pkgs.autoAddDriverRunpath

parent beb62775
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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 [