From 4d494010316b9760a5779c752f2497ae725ac0e5 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 22 Dec 2023 21:11:35 +0800 Subject: [PATCH] gnu: glad-0.1: Use gexps. * gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps. Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992 --- gnu/packages/gl.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index b404a10bae..06854f36f7 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -208,13 +208,13 @@ (define-public glad-0.1 "0m55ya1zrmg6n2cljkajy80ilmi5sblln8742fm0k1sw9k7hzn8n")))) (build-system python-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'install-cmakelists.txt - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share/" ,name))) - (install-file "CMakeLists.txt" share))))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-cmakelists.txt + (lambda _ + (let ((share (string-append #$output "/share/" + #$(package-name this-package)))) + (install-file "CMakeLists.txt" share))))))) (home-page "https://github.com/Dav1dde/glad") (synopsis "Multi-language GL/GLES/EGL/GLX/WGL loader generator") (description "Glad uses the official Khronos XML specifications to