[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/14: gnu: console-setup: Fix cross-compilation.
From: |
guix-commits |
Subject: |
11/14: gnu: console-setup: Fix cross-compilation. |
Date: |
Wed, 27 Jul 2022 19:08:09 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 54c6e3918805879bf04dec9c397ca622b66e52f9
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 24 02:00:03 2022 +0200
gnu: console-setup: Fix cross-compilation.
* gnu/packages/xorg.scm (console-setup)[inputs]: Add bash-minimal and
coreutils.
[arguments]: Use them in place of the native ones where appropriate.
---
gnu/packages/xorg.scm | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 1636880aaa..6ba5c32dcb 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages aidc)
#:use-module (gnu packages anthy)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages check)
@@ -6593,13 +6594,12 @@ output.")
(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'patch-file-names
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
;; 'ckbcomp' calls out to 'cat' (!). Give it the right file
;; name.
(substitute* '("Keyboard/ckbcomp")
(("\"cat ")
- (string-append "\"" (which "cat")
- " ")))))
+ (format #f "\"~a " (search-input-file inputs "bin/cat"))))))
(add-before 'build 'make-doubled-bdfs
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(invoke "make" "-C" "Fonts"
@@ -6621,10 +6621,12 @@ output.")
(list pkg-config
bdftopcf
bdfresize
- sharutils ; for 'uuencode'
+ sharutils ; for 'uuencode'
perl))
(inputs
- (list perl)) ; used by 'ckbcomp'
+ (list bash-minimal
+ coreutils
+ perl)) ; used by 'ckbcomp'
(synopsis "Set up the Linux console font and keyboard")
(description
"console-setup provides the console with the same keyboard
- 07/14: gnu: Add mce-inject., (continued)
- 07/14: gnu: Add mce-inject., guix-commits, 2022/07/27
- 12/14: gnu: console-setup: Clean up #:make-flags., guix-commits, 2022/07/27
- 10/14: gnu: console-setup: Update to 1.209., guix-commits, 2022/07/27
- 05/14: gnu: pegtl: Update to 3.2.7., guix-commits, 2022/07/27
- 04/14: gnu: libkeyfinder: Update to 2.2.7., guix-commits, 2022/07/27
- 13/14: gnu: console-setup: Use G-expressions., guix-commits, 2022/07/27
- 08/14: gnu: duc: Update to 1.4.5., guix-commits, 2022/07/27
- 01/14: gnu: btrbk: Add findutils to PATH., guix-commits, 2022/07/27
- 02/14: gnu: btrbk: Update to 0.32.2., guix-commits, 2022/07/27
- 06/14: gnu: nanodbc: Update to 2.14.0., guix-commits, 2022/07/27
- 11/14: gnu: console-setup: Fix cross-compilation.,
guix-commits <=
- 14/14: gnu: libpano13: Update to 2.9.21., guix-commits, 2022/07/27