summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2022-08-12 17:01:46 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2022-08-12 17:01:46 +0100
commit7c48211f5a5da5324b9d5b9c1035ba8c066e2197 (patch)
treeb857f9d7b884ffc945c1d60d5a422b9b2322fba7
parenta9f1b6e5e4e43c65330f595778a8acd4c44b542a (diff)
minecraft-launcher: correct missing interpreter.
-rw-r--r--yellowsquid/packages/games.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/yellowsquid/packages/games.scm b/yellowsquid/packages/games.scm
index 4691402..ba3ea59 100644
--- a/yellowsquid/packages/games.scm
+++ b/yellowsquid/packages/games.scm
@@ -67,7 +67,8 @@
(lambda* (#:key inputs #:allow-other-keys)
(let* ((libs '("libgtk-3.so.0" "libgdk-3.so.0" "libgobject-2.0.so.0" "libstdc++.so.6" "libgcc_s.so.1" "ld-linux-x86-64.so.2"))
(rpath (string-join (map (lambda (lib) (dirname (search-input-file inputs (string-append "/lib/" lib)))) libs) ":")))
- (invoke "patchelf" "--set-rpath" rpath "minecraft-launcher"))))
+ (invoke "patchelf" "--set-rpath" rpath "minecraft-launcher")
+ (invoke "patchelf" "--set-interpreter" (search-input-file inputs "/lib/ld-linux-x86-64.so.2") "minecraft-launcher"))))
(add-after 'install 'install-desktop
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))