From d8b34052b2ced0095f1bd8a854a6ae718f34a966 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 28 Sep 2024 09:39:41 +0900 Subject: gnu: libretro-lowresnx: Use gexps. * gnu/packages/emulators.scm (libretro-lowresnx) [arguments]: Use gexps. Change-Id: I0db6455684d44868dd9577690e8ac1bd98a1abd2 --- gnu/packages/emulators.scm | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 594a6e1a99..dae8b7097c 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 -- cgit v1.2.3