summaryrefslogtreecommitdiff
path: root/nongnu/packages
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2024-08-31 17:54:34 -0400
committerJohn Kehayias <john.kehayias@protonmail.com>2024-08-31 17:54:34 -0400
commit18436505000045308a1ba027f9ff46699710c5ca (patch)
treefd4e054d7b865d1f7311c60c8770e1e060331a60 /nongnu/packages
parent0f2e067ad0d4292381c3e3a483b7ec5edea50382 (diff)
nongnu: steam-client: Fix build.
It is unclear why steam failed to build post-core-updates merge in Guix, with errors like: In guix/build/utils.scm: 761:4 0 (alist-cons-after patch-dot-desktop-files # #<procedur?> ?) guix/build/utils.scm:761:4: In procedure alist-cons-after: Throw to key `match-error' with args `("match" "no matching pattern" ())'. The fix is to reorder and rename some phases which apparently don't exist. * nongnu/packages/game-client.scm (steam-client)[arguments]<phases>: Reorder the deletion of 'patch-dot-desktop-files to after 'patch-desktop-file (which tried to add after this now deleted phases). Change the 'post-install phase to add after 'install ('install-binaries doesn't exist').
Diffstat (limited to 'nongnu/packages')
-rw-r--r--nongnu/packages/game-client.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm
index 3b04b9c..f1cb28d 100644
--- a/nongnu/packages/game-client.scm
+++ b/nongnu/packages/game-client.scm
@@ -141,7 +141,6 @@ implementation with gogdl and Amazon Games using Nile.")
(substitute* "Makefile"
(("-fns ")
"-fns $(DESTDIR)"))))
- (delete 'patch-dot-desktop-files)
(add-after 'unpack 'patch-startscript
(lambda _
(substitute* "bin_steam.sh"
@@ -157,8 +156,9 @@ implementation with gogdl and Amazon Games using Nile.")
(substitute* (string-append path "steam-asound32.desktop")
(("Exec=steam %U") "Exec=steam %U -- --asound32")
(("Name=Steam") "Name=Steam (32-bit ALSA)")))))
+ (delete 'patch-dot-desktop-files)
;; Steamdeps installs missing packages, which doesn't work with Guix.
- (add-after 'install-binaries 'post-install
+ (add-after 'install 'post-install
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref %outputs "out")))
(delete-file (string-append out "/lib/steam/bin_steamdeps.py"))