aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-09-06 15:36:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-09-06 18:44:53 +0300
commite7532d281bae4f7d130b22cf32a16aade157aedb (patch)
tree2a224fd59ca6f96b28f478c3b0a2551142d5dad6 /gnu
parentbe810d414f0f5d904bb3d84793b7813b69c55cff (diff)
downloadguix-e7532d281bae4f7d130b22cf32a16aade157aedb.tar.gz
guix-e7532d281bae4f7d130b22cf32a16aade157aedb.zip
gnu: isc-dhcp: Fix cross-compiling to riscv64-linux.
* gnu/packages/admin.scm (isc-dhcp)[arugments]: Split custom 'update-config-scripts phase to substitute one set of config scripts earlier in the build process.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 0afa73c30a..21f9176bfa 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1382,14 +1382,16 @@ connection alive.")
;; build system uses the built 'gen' executable.
(setenv "BUILD_CC" "gcc"))))
'())
- (add-before 'build 'update-config-scripts
+ (add-before 'configure 'update-config-scripts
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(for-each (lambda (file)
(install-file
(search-input-file
(or native-inputs inputs)
(string-append "/bin/" file)) "."))
- '("config.guess" "config.sub"))
+ '("config.guess" "config.sub"))))
+ (add-before 'build 'update-config-scripts-for-bind
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
(for-each (lambda (file)
(install-file
(search-input-file