diff mbox series

[bug#73522,games-team,11/14] gnu: libretro-lowresnx: Use gexps.

Message ID c4befb765621908888ed8bb13ffda23f8ba66f33.1728192708.git.maxim.cournoyer@gmail.com
State New
Headers show
Series Package and use RetroArch assets, plus other improvements. | expand

Commit Message

Maxim Cournoyer Oct. 6, 2024, 5:32 a.m. UTC
* 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 mbox series

Patch

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