From 1be22dfea3b4b853ecbd465b528021837930256d Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Tue, 4 Feb 2025 21:46:49 -0500 Subject: [PATCH] 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. --- nongnu/packages/game-client.scm | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm index cb2730b..b3b1d7e 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