[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/33: gnu: console-setup: Fix cross-compilation.
From: |
guix-commits |
Subject: |
30/33: gnu: console-setup: Fix cross-compilation. |
Date: |
Tue, 24 Sep 2019 02:17:51 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit f22997b1a7e9ae480398c8963a5e28c6c5afa64e
Author: Mathieu Othacehe <address@hidden>
Date: Sun Aug 18 12:59:48 2019 +0200
gnu: console-setup: Fix cross-compilation.
* gnu/packages/xorg.scm (console-setup)[native-inputs]: Add perl,
[arguments]: search for bash in both native-inputs and inputs.
---
gnu/packages/xorg.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index d5d983a..ecd8c29 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6412,25 +6412,28 @@ output.")
" ")))
#t))
(add-before 'build 'make-doubled-bdfs
- (lambda* (#:key inputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
(invoke "make" "-C" "Fonts"
"doubled_bdfs"
(string-append "SHELL="
- (assoc-ref inputs "bash")
+ (assoc-ref (or native-inputs inputs)
+ "bash")
"/bin/bash"))))
(replace 'install
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
(let ((out (assoc-ref %outputs "out")))
(invoke "make" "install-linux"
(string-append "prefix=" out)
(string-append "SHELL="
- (assoc-ref inputs "bash")
+ (assoc-ref (or native-inputs inputs)
+ "bash")
"/bin/bash"))))))))
(native-inputs
`(("pkg-config" ,pkg-config)
("bdftopcf" ,bdftopcf)
("bdfresize" ,bdfresize)
- ("sharutils" ,sharutils))) ;for 'uuencode'
+ ("sharutils" ,sharutils) ;for 'uuencode'
+ ("perl" ,perl)))
(inputs
`(("perl" ,perl))) ;used by 'ckbcomp'
(synopsis "Set up the Linux console font and keyboard")
- 09/33: gnu: libgit2: Fix cross compilation., (continued)
- 09/33: gnu: libgit2: Fix cross compilation., guix-commits, 2019/09/24
- 13/33: gnu: xmlto: Fix cross-compilation., guix-commits, 2019/09/24
- 10/33: gnu: ath9k-htc-firmware: Fix cross compilation., guix-commits, 2019/09/24
- 12/33: gnu: help2man: Fix cross-compilation., guix-commits, 2019/09/24
- 24/33: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 23/33: gnu: libpaper: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 27/33: gnu: lvm2: Fix cross-compilation., guix-commits, 2019/09/24
- 07/33: gnu: python: Further cross-compilation fixes., guix-commits, 2019/09/24
- 33/33: gnu: libtool: Fix cross-compilation., guix-commits, 2019/09/24
- 21/33: gnu: guile-xcb: Fix cross-compilation., guix-commits, 2019/09/24
- 30/33: gnu: console-setup: Fix cross-compilation.,
guix-commits <=
- 15/33: gnu: tcsh: Fix cross-compilation., guix-commits, 2019/09/24
- 14/33: gnu: libarchive: Fix cross-compilation., guix-commits, 2019/09/24
- 18/33: gnu: texinfo: Fix cross-compilation., guix-commits, 2019/09/24
- 26/33: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/09/24
- 22/33: gnu: libgpg-error: Fix cross compilation., guix-commits, 2019/09/24
- 29/33: gnu: procps: Fix cross-compilation., guix-commits, 2019/09/24
- 20/33: gnu: texinfo-4: Fix cross compilation, guix-commits, 2019/09/24
- 28/33: gnu: nghttp2: Fix cross-compilation., guix-commits, 2019/09/24
- 16/33: gnu: pkg-config: Fix cross-compilation., guix-commits, 2019/09/24
- 19/33: gnu: texinfo-5: Fix cross-compilation., guix-commits, 2019/09/24