guix-commits
[Top][All Lists]
Advanced

[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))



reply via email to

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