Commit Graph

7 Commits

Author SHA1 Message Date
Jonathan Ringer
bfe244b234 nvidia-container-toolkit: use autoAddDriverRunpath 2024-03-30 10:14:14 -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
Rafael Fernández López
6ac6aab199 nvidia-container-toolkit: move to by-name structure 2024-02-21 22:17:11 +01:00
Nick Cao
ed3e7a5208
nixosTests.nvmetcfg: init 2024-02-02 17:10:25 -05:00
Nick Cao
53f5705347
nvmetcfg: init at 0.1.0 2024-01-29 13:10:30 -05:00
Fabian Affolter
6785cd4ae3 nvdtools: init at 0.1.5
Tools to work with the feeds (vulnerabilities, CPE dictionary etc.) distributed by National Vulnerability Databas

https://github.com/facebookincubator/nvdtools
2024-01-22 00:01:59 +01:00
Weijia Wang
96e6782e87 nvidia-texture-tools: migrate to by-name 2023-12-23 00:35:52 +01:00