Commit Graph

641341 Commits

Author SHA1 Message Date
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
nixpkgs-merge-bot[bot]
2bfe2058a3
Merge pull request #320508 from r-ryantm/auto-update/redocly
redocly: 1.14.0 -> 1.15.0
2024-06-19 15:52:57 +00:00
Stig
66a9a80d83
Merge pull request #320354 from marcusramberg/marcus/up_marp
marp-cli: 3.2.0 -> 3.4.0
2024-06-19 17:38:35 +02:00
Aleksana
6a8cbf2c15
Merge pull request #320969 from r-ryantm/auto-update/docfd
docfd: 6.0.1 -> 7.0.0
2024-06-19 23:31:38 +08:00
Frank Doepper
c217dc9717 python3Packages.clustershell: remove blocking test
remove tests/TreeGatewayTest.py because it does not return.

apparently

    def wait(self):
        """wait for task/thread termination"""
        # can be blocked indefinitely if StreamWorker doesn't complete
        self.task.join()

does apply in nix sandbox

fixes #315146
2024-06-19 17:04:37 +02:00
Aleksana
2e45828e6f
Merge pull request #320922 from r-ryantm/auto-update/hyprland-protocols
hyprland-protocols: 0.2 -> 0.3.0
2024-06-19 23:03:57 +08:00
Aleksana
0ed51f7f33
Merge pull request #320773 from luftmensch-luftmensch/errands_46.2.3
errands: 46.2.2 -> 46.2.3
2024-06-19 23:00:17 +08:00
Nick Cao
43e4dde842
Merge pull request #321037 from r-ryantm/auto-update/lightdm-slick-greeter
lightdm-slick-greeter: 2.0.4 -> 2.0.5
2024-06-19 10:46:22 -04:00
Nick Cao
0b847d86a5
Merge pull request #320995 from r-ryantm/auto-update/qownnotes
qownnotes: 24.6.1 -> 24.6.3
2024-06-19 10:44:02 -04:00
Nick Cao
0e3f81f0cd
Merge pull request #321000 from r-ryantm/auto-update/vale
vale: 3.5.0 -> 3.6.0
2024-06-19 10:43:24 -04:00
Pol Dellaiera
ca8f4a1f10
Merge pull request #320789 from khaneliman/waybar-fixes
waybar: fix sndioSupportFlag and evdevSupport flags
2024-06-19 16:42:54 +02:00
Nick Cao
bce1ad6e44
Merge pull request #320915 from r-ryantm/auto-update/fdupes
fdupes: 2.3.0 -> 2.3.1
2024-06-19 10:41:10 -04:00
Nick Cao
97cd11be4b
Merge pull request #320932 from r-ryantm/auto-update/twilio-cli
twilio-cli: 5.20.1 -> 5.21.0
2024-06-19 10:40:17 -04:00
Nick Cao
7c5deafb46
Merge pull request #320934 from r-ryantm/auto-update/qovery-cli
qovery-cli: 0.94.11 -> 0.94.13
2024-06-19 10:39:24 -04:00
Nick Cao
b124de2acf
Merge pull request #320963 from r-ryantm/auto-update/dprint
dprint: 0.46.2 -> 0.46.3
2024-06-19 10:38:15 -04:00
Nick Cao
074f502deb
Merge pull request #320964 from ereslibre/bump-wasm-tools
wasm-tools: 1.210.0 -> 1.211.1
2024-06-19 10:37:49 -04:00
Nick Cao
da93c86683
Merge pull request #320872 from r-ryantm/auto-update/python311Packages.oauthenticator
python311Packages.oauthenticator: 16.3.0 -> 16.3.1
2024-06-19 10:34:52 -04:00
Nick Cao
0c1ec741a6
Merge pull request #320894 from r-ryantm/auto-update/novelwriter
novelwriter: 2.4.3 -> 2.4.4
2024-06-19 10:34:08 -04:00
Nick Cao
e8fac754a1
Merge pull request #320896 from r-ryantm/auto-update/ferium
ferium: 4.6.0 -> 4.7.0
2024-06-19 10:32:02 -04:00
Nick Cao
f742ffdde8
Merge pull request #320897 from r-ryantm/auto-update/louvre
louvre: 2.0.0-1 -> 2.1.0-1
2024-06-19 10:31:36 -04:00
Nick Cao
8cc486b74a
Merge pull request #320898 from r-ryantm/auto-update/fzf-make
fzf-make: 0.33.0 -> 0.34.0
2024-06-19 10:31:03 -04:00
Nick Cao
0377e2890c
Merge pull request #320904 from r-ryantm/auto-update/mdsh
mdsh: 0.8.0 -> 0.9.0
2024-06-19 10:30:28 -04:00
Nick Cao
6aea69af72
Merge pull request #320910 from r-ryantm/auto-update/clifm
clifm: 1.18 -> 1.19
2024-06-19 10:28:46 -04:00
Nick Cao
3f41920aa7
Merge pull request #320838 from r-ryantm/auto-update/codeql
codeql: 2.17.4 -> 2.17.5
2024-06-19 10:26:13 -04:00
Nick Cao
4cba7d1a46
Merge pull request #320778 from r-ryantm/auto-update/kor
kor: 0.4.2 -> 0.5.0
2024-06-19 10:25:45 -04:00
Nick Cao
b94cba3550
Merge pull request #320785 from r-ryantm/auto-update/epub2txt2
epub2txt2: 2.06 -> 2.07
2024-06-19 10:25:03 -04:00
R. Ryantm
d8b8a7b623 lightdm-slick-greeter: 2.0.4 -> 2.0.5 2024-06-19 14:16:10 +00:00
Nick Cao
5ebe083399
Merge pull request #320933 from r-ryantm/auto-update/openpgp-card-tools
openpgp-card-tools: 0.11.0 -> 0.11.2
2024-06-19 09:59:49 -04:00
Paul Meyer
57e918e2bf
Merge pull request #318266 from katexochen/xmonad-log/mod
xmonad-log: 0.1.0 -> 0.1.0-unstable-2024-06-14
2024-06-19 15:55:20 +02:00
superherointj
2b85f0036f
Merge pull request #320866 from alyssais/linux-6.10-rc4
Linux kernels 2024-06-18
2024-06-19 10:51:56 -03:00
R. Ryantm
6952b7e948 cinnamon.xviewer: 3.4.4 -> 3.4.5 2024-06-19 21:40:24 +08:00
R. Ryantm
ba19c96d14 cinnamon.pix: 3.4.0 -> 3.4.1 2024-06-19 21:40:00 +08:00
R. Ryantm
23363112ca gnome-online-accounts-gtk: 3.50.2 -> 3.50.3 2024-06-19 21:39:00 +08:00
Paul Meyer
f20fa84a54
Merge pull request #320923 from r-ryantm/auto-update/libdnf
libdnf: 0.73.1 -> 0.73.2
2024-06-19 15:33:28 +02:00
Naïm Favier
9fa8f38872
Merge pull request #320930 from r-ryantm/auto-update/ibus-engines.typing-booster-unwrapped
ibus-engines.typing-booster-unwrapped: 2.25.8 -> 2.25.9
2024-06-19 15:27:29 +02:00
R. Ryantm
271ba4304e cinnamon.bulky: 3.2 -> 3.3 2024-06-19 21:25:23 +08:00
Martin Weinelt
dd7475aff8
Merge pull request #320991 from mweinelt/firefox-127.0.1
firefox: 127.0 -> 127.0.1
2024-06-19 15:06:51 +02:00