nongnu: Add run-in-game-client-container.

* nongnu/packages/game-client.scm (run-in-gc-container,
run-in-game-client-container): New variables.
This commit is contained in:
John Kehayias 2025-01-20 16:43:39 -05:00
parent fbc70ac2cf
commit dfeebe2ae8
No known key found for this signature in database
GPG Key ID: 499097AE5EA815D9

View File

@ -297,6 +297,28 @@ all games will be installed.")))
(define-public steam (nonguix-container->package steam-container)) (define-public steam (nonguix-container->package steam-container))
(define-public steam-nvidia (nonguix-container->package steam-nvidia-container)) (define-public steam-nvidia (nonguix-container->package steam-nvidia-container))
(define-public run-in-gc-container
(nonguix-container
(name "run-in-game-client-container")
(wrap-package bash)
(run "/bin/bash")
(ld.so.conf steam-ld.so.conf)
(ld.so.cache steam-ld.so.cache)
(union64
(fhs-union steam-container-libs
#:name "fhs-union-64"))
(union32
(fhs-union steam-container-libs
#:name "fhs-union-32"
#:system "i686-linux"))
(home-page "https://gitlab.com/nonguix/nonguix")
(synopsis "Run a shell inside the nonguix game client container")
(description "Start a bash shell (or run a command with \"-c <command>\" or script) inside
of the nonguix container used for game clients. In particular, this includes
all the dependencies incincluded in the container for Steam.")))
(define-public run-in-game-client-container (nonguix-container->package run-in-gc-container))
(define-public heroic-container (define-public heroic-container
(nonguix-container (nonguix-container
(name "heroic") (name "heroic")