mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-25 09:58:09 +01:00
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').
This commit is contained in:
parent
0f2e067ad0
commit
1843650500
1 changed files with 2 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue