Commit Graph
646399 Commits
Author SHA1 Message Date
R. Ryantm f891e7eaa6 poutine: 0.11.0 -> 0.12.0 2024-06-26 01:39:17 +00:00
R. Ryantm f0fa5f2ed4 opensearch: 2.14.0 -> 2.15.0 2024-06-26 01:34:01 +00:00
R. Ryantm 11a3ee62fe odo: 3.15.0 -> 3.16.1 2024-06-26 01:33:57 +00:00
R. Ryantm c2958ed546 notepad-next: 0.7 -> 0.8 2024-06-26 01:33:48 +00:00
éclairevoyantandGitHub 48893bc89b Merge pull request #322184 from YoshiRulz/dotnet-docs
doc: Update note under `buildDotnetModule` to reflect actual behaviour
2024-06-26 01:22:50 +00:00
R. Ryantm 29dcf702b1 hugo: 0.127.0 -> 0.128.0 2024-06-26 01:11:49 +00:00
R. Ryantm c7f558820c isomd5sum: 1.2.4 -> 1.2.5 2024-06-26 01:09:29 +00:00
nixpkgs-merge-bot[bot]andGitHub 6a0926dd33 Merge pull request #322516 from r-ryantm/auto-update/walker
walker: 0.0.71 -> 0.0.72
2024-06-26 01:04:01 +00:00
R. Ryantm 19375f3e3c bitcoin-abc: 0.29.6 -> 0.29.7 2024-06-26 00:44:57 +00:00
R. Ryantm b52f0d5970 dqlite: 1.16.4 -> 1.16.5 2024-06-26 00:40:56 +00:00
R. Ryantm 2466aa7a20 bitcoind-abc: 0.29.6 -> 0.29.7 2024-06-26 00:40:52 +00:00
R. Ryantm 29398d33b7 cvemap: 0.0.6 -> 0.0.7 2024-06-26 00:37:03 +00:00
Someone Serge 7d667a0996 nix-required-mounts: refactor: drop unused arguments 2024-06-26 00:35:45 +00:00
Someone Serge ebeb6b9d1d nix-required-mounts: nixfmt 2024-06-26 00:35:45 +00:00
Someone Serge ff430d1699 nix-required-mounts: cuda: /dev/video* may not exist and aren't relevant 2024-06-26 00:35:45 +00:00
Someone Serge da430f4872 blender.gpuChecks: add unwrapped
An unwrapped check for `nix run`-ing on the host platform,
instead of `nix build`-ing in the sandbox

E.g.:

```
❯ nix run -f ./. --arg config '{ cudaSupport = true; cudaCapabilities = [ "8.6" ]; cudaEnableForwardCompat = false; allowUnfree = true; }' -L blender.gpuChecks.cudaAvailable.unwrapped
Blender 4.0.1
Read prefs: "/home/user/.config/blender/4.0/config/userpref.blend"
CUDA is available
Blender quit
❯ nix build -f ./. --arg config '{ cudaSupport = true; cudaCapabilities = [ "8.6" ]; cudaEnableForwardCompat = false; allowUnfree = true; }' -L blender.gpuChecks
blender> Blender 4.0.1
blender> could not get a list of mounted file-systems
blender> CUDA is available
blender> Blender quit
```
2024-06-26 00:35:45 +00:00
Someone Serge 39f33456e4 python3Packages.torch.gpuChecks: add rocm 2024-06-26 00:35:45 +00:00
Someone Serge efd64b5f0b cudaPackages: move cuda tests from passthru.tests
Otherwise we crash Ofborg
2024-06-26 00:35:45 +00:00
Someone Serge 9aa0403154 cudaPackages.saxpy: passthru: test gpu/runtime 2024-06-26 00:35:44 +00:00
Someone Serge 927b15ed6d nixos/nix-required-mounts: allow passing extra arguments to the hook 2024-06-26 00:35:44 +00:00
Someone Serge 6a6b6ac359 nix-required-mounts: print -> logging 2024-06-26 00:35:44 +00:00
Someone Serge 61001a31c3 nix-required-mounts: enforce that host paths exist 2024-06-26 00:35:44 +00:00
Someone Serge dd70727622 nixos/nix-required-mounts: mount the runtime closures 2024-06-26 00:35:44 +00:00
Someone Serge 075dd8b536 nix-required-mounts: allow overriding the rendered config 2024-06-26 00:35:44 +00:00
Someone Serge 55f54cc2c3 nix-required-mounts: restore (optional) symlink support 2024-06-26 00:35:44 +00:00
Someone Serge 3cf5bcfe49 nix-required-mounts: restore the followSymlinks option
This way pkgs.nix-required-mounts is "correct" even before
we override it in the NixOS module
2024-06-26 00:35:44 +00:00
Someone Serge 5560f6a514 nix-required-mounts: guest and host paths may differ 2024-06-26 00:35:43 +00:00
Someone Serge 7418e4fefd programs.nix-required-mounts: presets.cuda -> nvidia-gpu
This hopefully clarifies that the preset configures the hook to expose
"nvidia devices", which includse both the userspace driver and the
device nodes.

The derivations  still declare requiredSystemFeatures = [ "cuda" ] to
explicitly indicate they need to use the CUDA functionality and expect a
libcuda.so and a CUDA-capable device. Ideally, we'd also include the
specific CUDA architectures (sm_86, etc) in feature names.

Derivations that use a co-processor but do not care about the vendor or
even the particular interface may ask for the more generic "opengl",
"vulkan", or "gpu" features. It is then responsibility of the host
declaring the support for this feature to ensure the drivers and
hardware are appropriately set up.
2024-06-26 00:35:43 +00:00
Someone Serge 6a0f2aedc1 nix-required-mounts: fix: add missing metadata 2024-06-26 00:35:43 +00:00
Someone Serge 3a0d777486 nix-required-mounts: link the issue about unavailable .drvs 2024-06-26 00:35:43 +00:00
Someone Serge 3d84ab0b09 nix-required-mounts: expose the VM test in passthru 2024-06-26 00:35:43 +00:00
Someone Serge 50d4382114 programs.nix-required-mounts: inherit defaults from the package 2024-06-26 00:35:43 +00:00
Someone Serge 6662b09941 nix-required-mounts: handle __structuredAttrs 2024-06-26 00:35:43 +00:00
Someone Serge 6859a2dabc nix-required-mounts: use wrappers instead of statically embedding config into the script 2024-06-26 00:35:42 +00:00
Someone Serge f22b9da6b8 python3Packages.torch{,-bin}: test torch.cuda.is_available() 2024-06-26 00:35:42 +00:00
Someone Serge 7ed2cba5e8 python3Packages.pynvml: add a gpu test 2024-06-26 00:35:42 +00:00
Someone Serge b9299696ab blender: add CUDA discovery test 2024-06-26 00:35:42 +00:00
Someone Serge 340b41815d nixosTests.nix-required-mounts: init 2024-06-26 00:35:42 +00:00
Someone Serge b422dafc89 nix-required-mounts: init 2024-06-26 00:35:42 +00:00
R. Ryantm e8f559ab64 c2patool: 0.9.3 -> 0.9.4 2024-06-26 00:29:10 +00:00
Silvan MosbergerandGitHub e55c4339a4 Merge pull request #322518 from philiptaron/add-maintainer/bash-completion
bash-completion: add philiptaron as maintainer
2024-06-26 02:26:54 +02:00
R. Ryantm c2114f74cc btcd: 0.24.0 -> 0.24.2 2024-06-26 00:25:59 +00:00
YtandGitHub edd6572a30 Merge pull request #321367 from chiroptical/chiroptical/ex-doc-0-34-1
ex_doc: 0.32.1 -> 0.34.1
2024-06-26 00:24:10 +00:00
R. Ryantm 439ead441a android-udev-rules: 20240221 -> 20240625 2024-06-26 00:23:21 +00:00
YtandGitHub b8adfcfa20 Merge pull request #322321 from r-ryantm/auto-update/pict-rs
pict-rs: 0.5.13 -> 0.5.16
2024-06-26 00:22:29 +00:00
YtandGitHub e571f27ff5 Merge pull request #322488 from r-ryantm/auto-update/python311Packages.weaviate-client
python311Packages.weaviate-client: 4.6.3 -> 4.6.5
2024-06-26 00:22:17 +00:00
Philip Taron 718545000e bash-completion: add philiptaron as maintainer 2024-06-25 17:12:22 -07:00
Justin Restivo 5377ecc7a7 nix-btm: init at 0.2.0 2024-06-25 20:07:39 -04:00
R. Ryantm 11be616fc6 sftpgo: 2.6.1 -> 2.6.2 2024-06-25 23:52:26 +00:00
R. Ryantm 64c7cf7c3e walker: 0.0.71 -> 0.0.72 2024-06-25 23:34:55 +00:00