guix_mirror_bot pushed a commit to branch master
in repository guix.
commit dd5acc983cddb2695ac31ce88e1dacb9750e7cff
Author: Carlos Durán Domínguez <[email protected]>
AuthorDate: Tue Feb 10 17:32:10 2026 +0100
gnu: harmonist-sdl: Fix name collision.
* gnu/packages/games.scm (harmonist-sdl): Fix name collision with harmonist
package.
[arguments] <#:phases>: Add fix-name-collision phase.
Change-Id: Ic1a8b4b116d0173d59e7ace13b18b626b09b040b
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/games.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index aba2f474e1..1534b9e250 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11301,7 +11301,14 @@ player adaptability for character progression.")
(arguments
(substitute-keyword-arguments (package-arguments harmonist)
((#:tests? _ #t) #f)
- ((#:build-flags _ #'()) #~(list "--tags=sdl"))))
+ ((#:build-flags _ #'()) #~(list "--tags=sdl"))
+ ((#:phases _ #~%standard-phases)
+ #~(modify-phases %standard-phases
+ (add-after 'install 'fix-name-collision
+ (lambda _
+ (rename-file
+ (string-append #$output "/bin/harmonist")
+ (string-append #$output "/bin/harmonist-sdl"))))))))
(native-inputs
(modify-inputs (package-native-inputs harmonist)
(prepend pkg-config)))))