[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
54/64: gnu: mdadm: Fix cross-compilation.
From: |
guix-commits |
Subject: |
54/64: gnu: mdadm: Fix cross-compilation. |
Date: |
Fri, 23 Aug 2019 04:10:24 -0400 (EDT) |
mothacehe pushed a commit to branch wip-cross-system
in repository guix.
commit 78c3bc2dceeaa1e6711db1d4c44d6dd80a5cf867
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 8b472f9..94354a2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3528,8 +3528,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))))
- 21/64: gnu: mit-krb5: Fix cross-compilation., (continued)
- 21/64: gnu: mit-krb5: Fix cross-compilation., guix-commits, 2019/08/23
- 23/64: gnu: help2man: Fix cross-compilation., guix-commits, 2019/08/23
- 30/64: gnu: icu4c: Fix cross-compilation., guix-commits, 2019/08/23
- 33/64: gnu: eudev: Fix cross-compilation., guix-commits, 2019/08/23
- 42/64: gnu: doxygen: Fix cross-compilation., guix-commits, 2019/08/23
- 59/64: gexp: Pass target to compiled-modules in lower-gexp., guix-commits, 2019/08/23
- 43/64: gnu: guile-sqlite3: Fix cross-compilation., guix-commits, 2019/08/23
- 60/64: utils: Use target-arm64? and target-arm? helpers., guix-commits, 2019/08/23
- 48/64: gnu: libnl: Fix cross-compilation., guix-commits, 2019/08/23
- 56/64: linux-initrd: Use native gzip., guix-commits, 2019/08/23
- 54/64: gnu: mdadm: Fix cross-compilation.,
guix-commits <=
- 51/64: gnu: guile-wm: Fix cross-compilation., guix-commits, 2019/08/23
- 64/64: scripts: system: Add --target option., guix-commits, 2019/08/23
- 63/64: system: vm: Support cross-compilation., guix-commits, 2019/08/23