nongnu: steam: Use guix shell.

* nongnu/packages/steam-client.scm
(make-container-wrapper): Replace guix environment with new guix shell command.
This commit is contained in:
ison 2021-10-28 12:38:51 -06:00
parent 079084f641
commit af0398e853
No known key found for this signature in database
GPG key ID: 5E76B1AD0FC22F93

View file

@ -31,7 +31,7 @@
;;; A container wrapper creates the following store items: ;;; A container wrapper creates the following store items:
;;; * Main container package [nonguix-container->package] (basically a dummy ;;; * Main container package [nonguix-container->package] (basically a dummy
;;; package with symlink to wrapper script) ;;; package with symlink to wrapper script)
;;; - Wrapper script [make-container-wrapper] (runs "guix environment") ;;; - Wrapper script [make-container-wrapper] (runs "guix shell")
;;; References: ;;; References:
;;; -> manifest.scm [make-container-manifest] (used by wrapper to guarantee ;;; -> manifest.scm [make-container-manifest] (used by wrapper to guarantee
;;; exact store items) ;;; exact store items)
@ -362,8 +362,8 @@ in a sandboxed FHS environment."
"--start" "--start"
"--exit-idle-time=60") "--exit-idle-time=60")
(apply invoke (apply invoke
`("guix" "environment" `("guix" "shell"
"--ad-hoc" "--container" "--no-cwd" "--network" "--container" "--no-cwd" "--network"
,@(map preserve-var preserved-env) ,@(map preserve-var preserved-env)
,@(map add-path expose) ,@(map add-path expose)
,@(map (lambda (item) ,@(map (lambda (item)