summaryrefslogtreecommitdiff
path: root/nongnu/packages
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2026-03-24 20:58:10 -0400
committerJohn Kehayias <john.kehayias@protonmail.com>2026-03-24 20:58:10 -0400
commitb8648bf188df213455983e7eaab9f6c6101ca0c2 (patch)
tree1648896c7e917ff034f46570e283ea60e2a12b65 /nongnu/packages
parent23c2482c8ed97493bcd3454a7baa18cd3510e382 (diff)
nongnu: heroic: Fix legendary using 32-bit python.
Fixes #444. * nongnu/packages/game-client.scm (heroic-extra-client-libs): Add python. (heroic-container-for): Remove python from union32.
Diffstat (limited to 'nongnu/packages')
-rw-r--r--nongnu/packages/game-client.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm
index 2158533..cd79ee1 100644
--- a/nongnu/packages/game-client.scm
+++ b/nongnu/packages/game-client.scm
@@ -231,6 +231,7 @@ implementation with gogdl and Amazon Games using Nile.")
(define heroic-extra-client-libs
`(("curl" ,curl) ; Required for Heroic to download e.g. Wine.
("openssl" ,openssl) ; Required for MonoGame mods.
+ ("python" ,python) ; Required (64-bit) for legendary.
("which" ,which) ; Heroic complains about trying to use which (though works).
("gtk+" ,gtk+))) ; Required for Heroic interface (gtk filechooser schema).
@@ -276,7 +277,12 @@ all games will be installed.")))
;; Don't include heroic-client-libs as they are not needed in 32-bit.
(union32
(fhs-union (modify-inputs steam-container-libs
- (replace "mesa" driver))
+ (replace "mesa" driver)
+ ;; The first python found will be used and it needs to be
+ ;; 64-bit.
+ ;; TODO: Change order in manifest, or set PATH, but Steam
+ ;; needs a 32-bit ldd (found first?).
+ (delete "python"))
#:name "fhs-union-32"
#:system "i686-linux"))
(preserved-env %nvidia-environment-variable-regexps)