diff options
| author | Hilton Chain <hako@ultrarare.space> | 2026-03-24 23:45:20 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2026-04-03 16:57:38 +0800 |
| commit | 55d33edf6168c47eb3324e451a2301c2cb856a24 (patch) | |
| tree | 6566cda02f82b96d810e5036d100ece715b40fce /nongnu/packages/nvidia.scm | |
| parent | fa1b80a668622da389ff18b2c067a46a50ac9a1a (diff) | |
nongnu: Move steam-nvidia and heroic-nvidia to (nongnu packages nvidia).
* nongnu/packages/game-client.scm (steam-container-for, heroic-container-for):
Remove %nvidia-environment-variable-regexps reference.
(steam-nvidia, heroic-nvidia): Move to (nongnu packages nvidia).
* nongnu/packages/nvidia.scm (%nvidia-environment-variable-regexps): Unexport.
Diffstat (limited to 'nongnu/packages/nvidia.scm')
| -rw-r--r-- | nongnu/packages/nvidia.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/nongnu/packages/nvidia.scm b/nongnu/packages/nvidia.scm index 0e9ad7b..005ac6b 100644 --- a/nongnu/packages/nvidia.scm +++ b/nongnu/packages/nvidia.scm @@ -53,13 +53,14 @@ #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (nongnu packages game-client) #:use-module (nongnu packages linux) #:use-module (nongnu packages video) #:use-module (ice-9 match) #:use-module (srfi srfi-26) #:export (replace-mesa)) -(define-public %nvidia-environment-variable-regexps +(define %nvidia-environment-variable-regexps '("^__NV_" "^__GL_" ; NVIDIA OpenGL settings. "^__GLX_VENDOR_LIBRARY_NAME$" ; For GLVND. @@ -1298,6 +1299,18 @@ support. For dependency of other packages, use @code{nvidia-driver} instead.") ;; 2026-03 (define-deprecated-package nvdb nvda-beta) + +;;; +;;; Package variants for NVIDIA proprietary driver +;;; + +(define-public steam-nvidia + (package-with-alias "steam-nvidia" (steam-for nvda))) + +(define-public heroic-nvidia + (package-with-alias "heroic-nvidia" (heroic-for nvda))) + + (define* (replace-mesa obj #:key (driver nvda)) (with-transformation (package-input-grafting |
