From 62e138706507bab7e342c2b75fcaaa92f9440597 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Wed, 6 Sep 2023 17:46:49 +0800 Subject: gnu: npiet: Use gexps. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/piet.scm (npiet): Use Gexp. [arguments]: Use Gexp and remove tail #t. Signed-off-by: Ludovic Courtès --- gnu/packages/piet.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'gnu') 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)) -- cgit 1.4.1