mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
btop: use pkgs.autoAddDriverRunpath
This commit is contained in:
parent
beb6277527
commit
70afa1fea2
@ -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 [
|
||||
|
Loading…
Reference in New Issue
Block a user