dcgm: use pkgs.autoAddDriverRunpath

This commit is contained in:
Jonathan Ringer 2024-03-30 10:17:46 -07:00
parent bfe244b234
commit 13b0f46825
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,6 +1,7 @@
{ lib
, gcc11Stdenv
, fetchFromGitHub
, autoAddDriverRunpath
, catch2
, cmake
, cudaPackages_10_2
@ -108,7 +109,7 @@ in gcc11Stdenv.mkDerivation rec {
# autoAddDriverRunpath does not actually depend on or incur any dependency
# of cudaPackages. It merely adds an impure, non-Nix PATH to the RPATHs of
# executables that need to use cuda at runtime.
cudaPackages_12.autoAddDriverRunpath
autoAddDriverRunpath
cmake
git