nongnu: steam: Fix desktop file.

* nongnu/packages/steam-client.scm (steam-client): Run steam container instead
of steam client directly.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
ison 2020-11-24 09:52:37 -07:00 committed by Jonathan Brielmaier
parent 9d1c5ede5c
commit 2af317689e
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -146,10 +146,11 @@
(substitute* "steam" (substitute* "steam"
(("/usr") (assoc-ref %outputs "out"))) (("/usr") (assoc-ref %outputs "out")))
#t)) #t))
(add-after 'unpack 'patch-desktop-file (add-after 'patch-dot-desktop-files 'patch-desktop-file
(lambda _ (lambda _
(substitute* "steam.desktop" (substitute* (string-append (assoc-ref %outputs "out")
(("Exec=/usr/bin/steam") "Exec=steam")) "/share/applications/steam.desktop")
(("Exec=.*/steam") "Exec=steam"))
#t)) #t))
;; Steamdeps installs missing packages, which doesn't work with Guix. ;; Steamdeps installs missing packages, which doesn't work with Guix.
(add-after 'install-binaries 'remove-unneccessary-file (add-after 'install-binaries 'remove-unneccessary-file