summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-02-04 21:46:49 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-02-09 14:11:42 -0500
commit1be22dfea3b4b853ecbd465b528021837930256d (patch)
treeca3519a5ebc5f5702c7e70688e91a988726e87ba
parent26778f221b0eda26eb3bd4a2801bfaca99f37c41 (diff)
nongnu: heroic-client: Update wrapper-plan to include binary path.
* nongnu/packages/game-client.scm (heroic-client)[arguments]<#:wrapper-plan>: Add the path for heroic to its wrapper-plan. <#:phases>: Remove wrap-where-patchelf-does-not-work phase as it is no longer needed.
-rw-r--r--nongnu/packages/game-client.scm12
1 files changed, 2 insertions, 10 deletions
diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm
index cb2730b8..b3b1d7ec 100644
--- a/nongnu/packages/game-client.scm
+++ b/nongnu/packages/game-client.scm
@@ -72,7 +72,7 @@
(arguments
(list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
#:wrapper-plan
- #~'("lib/Heroic/heroic"
+ #~'(("lib/Heroic/heroic" (("out" "/lib/Heroic")))
"lib/Heroic/libEGL.so"
"lib/Heroic/libGLESv2.so"
"lib/Heroic/libvk_swiftshader.so"
@@ -97,15 +97,7 @@
(lambda _
(mkdir-p (string-append #$output "/bin"))
(symlink (string-append #$output "/lib/Heroic/heroic")
- (string-append #$output "/bin/heroic"))))
- (add-after 'install-wrapper 'wrap-where-patchelf-does-not-work
- (lambda _
- (wrap-program (string-append #$output "/lib/Heroic/heroic")
- `("LD_LIBRARY_PATH" ":" prefix
- (,(string-join
- (list
- (string-append #$output "/lib/Heroic"))
- ":")))))))))
+ (string-append #$output "/bin/heroic")))))))
(home-page "https://heroicgameslauncher.com")
(synopsis "A Native GOG, Amazon and Epic Games Launcher")
(description "Heroic is an Open Source Game Launcher. Right now it supports launching