diff options
author | Hilton Chain <hako@ultrarare.space> | 2023-12-22 21:11:35 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2023-12-22 21:38:20 +0800 |
commit | 4d494010316b9760a5779c752f2497ae725ac0e5 (patch) | |
tree | f30eff93f4b0206b1002c78d0edea5a8c36427e2 | |
parent | b005a6f1d9e4b9bd3959f6d61ab5df7e593ed66b (diff) | |
download | guix-4d494010316b9760a5779c752f2497ae725ac0e5.tar.gz |
gnu: glad-0.1: Use gexps.
* gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps. Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992
-rw-r--r-- | gnu/packages/gl.scm | 14 |
1 files 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 |