Commit Graph

17 Commits

Author SHA1 Message Date
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Rafael Fernández López
058e8f5ef1
nvidia-podman: remove nvidia wrapper
Since version 4.1.0, podman has support for CDI, and is the
recommended way to expose GPU's for containers for podman.

More information: https://web.archive.org/web/20240729183805/https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#configuring-podman
2024-08-16 18:16:23 +02:00
Rafael Fernández López
f7b4d57421
virtualisation/docker: fix nvidia wrapper
Although CDI should be used in order to not require container runtime
wrappers anymore, fix the nvidia-container-runtime integration with
Docker for cases when Docker < 25.
2024-08-16 15:49:35 +02:00
Rafael Fernández López
df2df4c3a6
nvidia-container-toolkit: do not shadow docker executable
At this time, the nvidia-container-toolkit derivation installs a
docker executable that shadows the main one, and that is not thought
to forward commands to the original docker command, causing issues to
users when the `nvidia-container-toolkit` is in scope and they try to
call to `docker`.
2024-08-16 15:46:08 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
Anderson Torres
c7316ef96b nv-codec-headers: hide parameter sources
In order to avoid clash with external overlays that use the name `source`.
2024-07-21 18:17:44 -03:00
Anderson Torres
e8afe8d168 Revert "Merge pull request #325242 from flokli/revert-nv-codec-headers"
This reverts commit 4685e6f1a2, reversing
changes made to f99e3f2714.

Let's undo the undo first
2024-07-21 18:15:58 -03:00
Florian Klink
2cf621a871 Revert "nv-codec-headers: recreate under by-name"
This reverts commit 01f7c8a1a3.

It broke NixOS config evaluation, as in
https://github.com/NixOS/nixpkgs/pull/324199#issuecomment-2212422318.
2024-07-07 14:52:42 +03:00
Anderson Torres
01f7c8a1a3 nv-codec-headers: recreate under by-name
This commit merely deletes the old directory, creates the new files in the new
location and rewrite the overrides.

The whole change needs to be made "atomically", since it is not pratical to
create intermediate steps that compile cleanly.
2024-07-06 01:11:14 -03:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
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