From 3af18d785dc2540d8ea1dddcb1d2abb29da4dd1a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 8 Jan 2023 11:38:47 +0100 Subject: [PATCH] gnu: ode: Improve package style. * gnu/packages/game-development.scm (ode)[source]: Remove trailing [arguments]: Use G-expressions. Remove trailing #T from phase. --- gnu/packages/game-development.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 9f196193ca..54bafdc847 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -2401,18 +2401,17 @@ (define-public ode (modules '((guix build utils))) (snippet '(begin - (delete-file-recursively "libccd") - #t)))) + (delete-file-recursively "libccd"))))) (build-system cmake-build-system) (arguments - `(#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'unbundle-libccd - (lambda _ - (substitute* "CMakeLists.txt" - (("configure_file\\(libccd/.*") "")) - #t))))) + (list + #:configure-flags #~(list "-DODE_WITH_LIBCCD_SYSTEM=ON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'unbundle-libccd + (lambda _ + (substitute* "CMakeLists.txt" + (("configure_file\\(libccd/.*") ""))))))) (inputs (list glu libccd mesa)) (home-page "https://www.ode.org/")