Commit Graph

22 Commits

Author SHA1 Message Date
Gaetan Lepage
3338cab6bc nvrh: 0.1.12 -> 0.1.13
Diff: https://github.com/mikew/nvrh/compare/refs/tags/v0.1.12...v0.1.13

Changelog: https://github.com/mikew/nvrh/blob/refs/tags/v0.1.13/CHANGELOG.md
2024-10-13 17:23:28 +02:00
Gaetan Lepage
9234905dee nvrh: 0.1.9 -> 0.1.12
Diff: https://github.com/mikew/nvrh/compare/refs/tags/v0.1.9...v0.1.12

Changelog: https://github.com/mikew/nvrh/blob/refs/tags/v0.1.12/CHANGELOG.md
2024-10-12 21:54:48 +02:00
Gaetan Lepage
d00e2d4ac2 nvrh: 0.1.8 -> 0.1.9
Diff: https://github.com/mikew/nvrh/compare/refs/tags/v0.1.8...v0.1.9

Changelog: https://github.com/mikew/nvrh/blob/refs/tags/v0.1.9/CHANGELOG.md
2024-10-11 08:55:11 +02:00
Gaetan Lepage
27e908d602 nvrh: init at 0.1.8 2024-10-09 15:14:32 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
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