Subject: [PATCH games-team 11/14] gnu: libretro-lowresnx: Use gexps.

From: Maxim Cournoyer <[email-masked]>
Date: Sun, 6 Oct 2024 14:32:07 +0900

* gnu/packages/emulators.scm (libretro-lowresnx)
[arguments]: Use gexps.

Change-Id: I0db6455684d44868dd9577690e8ac1bd98a1abd2
---

 gnu/packages/emulators.scm | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index c2195f7471..5b435a0916 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -1477,19 +1477,16 @@ (define-public libretro-lowresnx
                 "0b0vg3iz342dpkffvf7frsnqh8inj8yzi8550bsx8vnbpq5r2ay5"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                    ; no tests
-       #:make-flags (list "-C" "platform/LibRetro"
-                          (string-append "CC=" ,(cc-for-target)))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)          ; no configure script
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((out (assoc-ref outputs "out"))
-                    (libretrodir (string-append out "/lib/libretro")))
-               (install-file "platform/LibRetro/lowresnx_libretro.so"
-                             libretrodir)
-               #t))))))
+     (list #:tests? #f                  ;no test suite
+           #:make-flags #~(list "-C" "platform/LibRetro"
+                                (string-append "CC=" #$(cc-for-target)))
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure)      ;no configure script
+               (replace 'install
+                 (lambda _
+                   (install-file "platform/LibRetro/lowresnx_libretro.so"
+                                 (string-append #$output "/lib/libretro")))))))
     (home-page "https://lowresnx.inutilis.com/")
     (synopsis "Libretro core for LowRES NX")
     (description "LowRES NX is a simulated retro game console, which can be
-- 
2.46.0