From 7c48211f5a5da5324b9d5b9c1035ba8c066e2197 Mon Sep 17 00:00:00 2001 From: Chloe Brown Date: Fri, 12 Aug 2022 17:01:46 +0100 Subject: minecraft-launcher: correct missing interpreter. --- yellowsquid/packages/games.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"))) -- cgit v1.2.3