Commit Graph

9 Commits

Author SHA1 Message Date
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Jonathan Ringer
13b0f46825
dcgm: use pkgs.autoAddDriverRunpath 2024-03-30 10:17:46 -07:00
Yann Hamdaoui
63746cac08
cudaPackages: generalize and refactor setup hook
This PR refactor CUDA setup hooks, and in particular
autoAddOpenGLRunpath and autoAddCudaCompatRunpathHook, that were using a
lot of code in common (in fact, I introduced the latter by copy pasting
most of the bash script of the former). This is not satisfying for
maintenance, as a recent patch showed, because we need to duplicate
changes to both hooks.

This commit abstract the common part in a single shell script that
applies a generic patch action to every elf file in the output. For
autoAddOpenGLRunpath the action is just addOpenGLRunpath (now
addDriverRunpath), and is few line function for
autoAddCudaCompatRunpathHook.

Doing so, we also takes the occasion to use the newer addDriverRunpath
instead of the previous addOpenGLRunpath, and rename the CUDA hook to
reflect that as well.

Co-Authored-By: Connor Baker <connor.baker@tweag.io>
2024-03-15 15:54:21 +01:00
Elliot Cameron
a7b7ef9fea dcgm: add note about keeping dcgm and prometheus-dcgm-exporter in sync 2023-10-09 16:04:57 -04:00
Elliot Cameron
4f381c3af1 dcgm: remove unused arguments 2023-10-09 15:45:04 -04:00
Elliot Cameron
6be96dba0c dcgm: 3.1.8 -> 3.2.5 2023-10-09 15:45:04 -04:00
Elliot Cameron
8b4275f955 dcgm: use strictDeps 2023-08-05 21:08:50 -04:00
Elliot Cameron
9a3dcd025a dcgm: switch to fixed autoAddOpenGLRunpathHook 2023-08-05 21:08:50 -04:00
Elliot Cameron
1cdc3752a5 dcgm: init at 3.1.8 2023-07-26 16:11:54 -04:00