guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/08: gnu: glad-0.1: Use gexps.


From: guix-commits
Subject: 03/08: gnu: glad-0.1: Use gexps.
Date: Fri, 22 Dec 2023 09:30:49 -0500 (EST)

hako pushed a commit to branch master
in repository guix.

commit 4d494010316b9760a5779c752f2497ae725ac0e5
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Fri Dec 22 21:11:35 2023 +0800

    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 @@ Polygon meshes, and Extruded polygon meshes.")
          "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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]