[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: mdadm: Fix cross-compilation.
From: |
guix-commits |
Subject: |
09/09: gnu: mdadm: Fix cross-compilation. |
Date: |
Fri, 20 Sep 2019 04:18:01 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates-next
in repository guix.
commit 3ed89b153fc0ff1119eefcaa93790c2918076e93
Author: Mathieu Othacehe <address@hidden>
Date: Sun Aug 18 13:01:17 2019 +0200
gnu: mdadm: Fix cross-compilation.
* gnu/packages/linux.scm (mdadm)[arguments]: Search for coreutils in both
native-inputs and inputs.
---
gnu/packages/linux.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 087ca13..afbb343 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3499,8 +3499,9 @@ MPEG-2 and audio over Linux IEEE 1394.")
#:phases
(modify-phases %standard-phases
(add-before 'build 'patch-program-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((coreutils (assoc-ref inputs "coreutils")))
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let ((coreutils (assoc-ref (or native-inputs inputs)
+ "coreutils")))
(substitute* "udev-md-raid-arrays.rules"
(("/usr/bin/(readlink|basename)" all program)
(string-append coreutils "/bin/" program))))
- branch core-updates-next updated (91acbda -> 3ed89b1), guix-commits, 2019/09/20
- 02/09: gnu: indent: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 05/09: gnu: lvm2: Fix cross-compilation., guix-commits, 2019/09/20
- 01/09: gnu: libpaper: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 04/09: gnu: mkfontdir: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 07/09: gnu: procps: Fix cross-compilation., guix-commits, 2019/09/20
- 03/09: gnu: libsamplerate: Fix aarch64 cross-compilation., guix-commits, 2019/09/20
- 09/09: gnu: mdadm: Fix cross-compilation.,
guix-commits <=
- 06/09: gnu: nghttp2: Fix cross-compilation., guix-commits, 2019/09/20
- 08/09: gnu: console-setup: Fix cross-compilation., guix-commits, 2019/09/20