gnu: renpy: Fix image reference paths.

The current approach to fixing paths is flawed in that it affects too many
of them.  See <https://issues.guix.gnu.org/issue/64925#4> for a detailed
report of the current defect.

gnu/packages/game-development.scm: (renpy)[drop-game-from-paths]: Only drop
game from paths that also have “gui7”.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Jesse Gibbons 2023-07-29 07:37:06 -06:00 committed by Liliana Marie Prikler
parent 03fd290423
commit 6a2b5c66bf
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1458,7 +1458,7 @@ (define-public renpy
(lambda _
(substitute* (list "launcher/game/gui7.rpy"
"launcher/game/gui7/images.py")
((", \"game\",") ","))
((", \"game\", \"gui7\",") ", \"gui7\","))
#t))
(add-before 'build 'start-xserver
(lambda* (#:key inputs native-inputs #:allow-other-keys)