diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-09-06 15:36:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-09-06 18:44:53 +0300 |
commit | e7532d281bae4f7d130b22cf32a16aade157aedb (patch) | |
tree | 2a224fd59ca6f96b28f478c3b0a2551142d5dad6 | |
parent | be810d414f0f5d904bb3d84793b7813b69c55cff (diff) | |
download | guix-e7532d281bae4f7d130b22cf32a16aade157aedb.tar.gz |
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.
-rw-r--r-- | gnu/packages/admin.scm | 6 |
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 |