[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: npiet: Use gexps.
From: |
guix-commits |
Subject: |
08/09: gnu: npiet: Use gexps. |
Date: |
Thu, 14 Sep 2023 11:21:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 62e138706507bab7e342c2b75fcaaa92f9440597
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Sep 6 17:46:49 2023 +0800
gnu: npiet: Use gexps.
* gnu/packages/piet.scm (npiet): Use Gexp.
[arguments]: Use Gexp and remove tail #t.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/piet.scm | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/piet.scm b/gnu/packages/piet.scm
index 8e5a313e82..0b16299482 100644
--- a/gnu/packages/piet.scm
+++ b/gnu/packages/piet.scm
@@ -21,6 +21,7 @@
(define-module (gnu packages piet)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix build-system gnu)
@@ -44,16 +45,17 @@
"0nl59fhdqqr7nslxdirdn8nvlq5wws67c7jyx2ckbmxbc9h8bv9d"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'install 'wrap-binaries
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (wrap-program (string-append out "/bin/npietedit")
- `("PATH" ":" prefix
- (,(dirname
- (search-input-file inputs "bin/wish")))))
- #t))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap-binaries
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-program (string-append out
+ "/bin/npietedit")
+ `("PATH" ":" prefix
+ (,(dirname
+ (search-input-file
+ inputs "bin/wish")))))))))))
(inputs
(list gd giflib libpng tk))
(native-inputs (list groff))
- branch master updated (e5f7c14ef6 -> 6d12c16299), guix-commits, 2023/09/14
- 01/09: home: services: redshift: Use redshift package specified in configuration, guix-commits, 2023/09/14
- 02/09: gnu: Add stklos., guix-commits, 2023/09/14
- 03/09: gnu: syncthing: Update to 1.23.7., guix-commits, 2023/09/14
- 08/09: gnu: npiet: Use gexps.,
guix-commits <=
- 09/09: doc: Make “crash course” xref more visible., guix-commits, 2023/09/14
- 05/09: gnu: neofetch: Fix cross-compiling., guix-commits, 2023/09/14
- 06/09: gnu: rottlog: Add gawk as an input., guix-commits, 2023/09/14
- 04/09: gnu: tor: Update to 0.4.8.5., guix-commits, 2023/09/14
- 07/09: gnu: npiet: Fix cross-compilation., guix-commits, 2023/09/14