[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: npiet: Fix cross-compilation.
From: |
guix-commits |
Subject: |
07/09: gnu: npiet: Fix cross-compilation. |
Date: |
Thu, 14 Sep 2023 11:21:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 40a76a7750586c05b85619a8a6e69610005edbc8
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Sep 6 17:46:48 2023 +0800
gnu: npiet: Fix cross-compilation.
* gnu/packages/piet.scm (npiet)[arguments]<#:phases>: Use
SEARCH-INPUT-FILE replace WHICH.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/piet.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/piet.scm b/gnu/packages/piet.scm
index 824efe59de..8e5a313e82 100644
--- a/gnu/packages/piet.scm
+++ b/gnu/packages/piet.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Jesse Gibbons <jgibbons2357+guix@gmail.com>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -46,10 +47,12 @@
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-binaries
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/npietedit")
- `("PATH" ":" prefix (,(dirname (which "wish")))))
+ `("PATH" ":" prefix
+ (,(dirname
+ (search-input-file inputs "bin/wish")))))
#t))))))
(inputs
(list gd giflib libpng tk))
- 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, 2023/09/14
- 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 <=