diff options
| author | ison <ison@airmail.cc> | 2020-11-24 09:52:37 -0700 |
|---|---|---|
| committer | Jonathan Brielmaier <jonathan.brielmaier@web.de> | 2020-11-24 22:58:41 +0100 |
| commit | 2af317689e83b4ce1940d04992c78a9156b2a078 (patch) | |
| tree | 333f2881600743a546854ffbf0dc52495c863b66 | |
| parent | 9d1c5ede5c39ebf7eaa32335d91e2c89e79bc91f (diff) | |
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>
| -rw-r--r-- | nongnu/packages/steam-client.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nongnu/packages/steam-client.scm b/nongnu/packages/steam-client.scm index 453e16a..32c26dc 100644 --- a/nongnu/packages/steam-client.scm +++ b/nongnu/packages/steam-client.scm | |||
| @@ -146,10 +146,11 @@ | |||
| 146 | (substitute* "steam" | 146 | (substitute* "steam" |
| 147 | (("/usr") (assoc-ref %outputs "out"))) | 147 | (("/usr") (assoc-ref %outputs "out"))) |
| 148 | #t)) | 148 | #t)) |
| 149 | (add-after 'unpack 'patch-desktop-file | 149 | (add-after 'patch-dot-desktop-files 'patch-desktop-file |
| 150 | (lambda _ | 150 | (lambda _ |
| 151 | (substitute* "steam.desktop" | 151 | (substitute* (string-append (assoc-ref %outputs "out") |
| 152 | (("Exec=/usr/bin/steam") "Exec=steam")) | 152 | "/share/applications/steam.desktop") |
| 153 | (("Exec=.*/steam") "Exec=steam")) | ||
| 153 | #t)) | 154 | #t)) |
| 154 | ;; Steamdeps installs missing packages, which doesn't work with Guix. | 155 | ;; Steamdeps installs missing packages, which doesn't work with Guix. |
| 155 | (add-after 'install-binaries 'remove-unneccessary-file | 156 | (add-after 'install-binaries 'remove-unneccessary-file |
