mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
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:
parent
9d1c5ede5c
commit
2af317689e
1 changed files with 4 additions and 3 deletions
|
@ -146,10 +146,11 @@
|
|||
(substitute* "steam"
|
||||
(("/usr") (assoc-ref %outputs "out")))
|
||||
#t))
|
||||
(add-after 'unpack 'patch-desktop-file
|
||||
(add-after 'patch-dot-desktop-files 'patch-desktop-file
|
||||
(lambda _
|
||||
(substitute* "steam.desktop"
|
||||
(("Exec=/usr/bin/steam") "Exec=steam"))
|
||||
(substitute* (string-append (assoc-ref %outputs "out")
|
||||
"/share/applications/steam.desktop")
|
||||
(("Exec=.*/steam") "Exec=steam"))
|
||||
#t))
|
||||
;; Steamdeps installs missing packages, which doesn't work with Guix.
|
||||
(add-after 'install-binaries 'remove-unneccessary-file
|
||||
|
|
Loading…
Reference in a new issue