From 55d33edf6168c47eb3324e451a2301c2cb856a24 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Tue, 24 Mar 2026 23:45:20 +0800 Subject: 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. --- nongnu/packages/nvidia.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'nongnu/packages/nvidia.scm') 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 -- cgit v1.3