mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: guix: Fix cross-compilation.
Fixes a regression introduced in
59587e2fda
where ./configure would fail
when cross-compiling with “Git is missing”.
Reported by gabber on #guix.
* gnu/packages/package-management.scm (guix)[arguments]: Add
‘ac_cv_path_GIT’ to #:configure-flags.
This commit is contained in:
parent
1b0ec97bce
commit
c4886c0cb6
1 changed files with 7 additions and 0 deletions
|
@ -215,6 +215,13 @@ (define-public guix
|
|||
;; system installation image.)
|
||||
"ac_cv_path_DOT_USER_PROGRAM=dot"
|
||||
|
||||
;; When cross-compiling, 'git' is not in $PATH
|
||||
;; (because it's not a native input). Thus,
|
||||
;; always explicitly pass its file name.
|
||||
(string-append "ac_cv_path_GIT="
|
||||
(search-input-file %build-inputs
|
||||
"/bin/git"))
|
||||
|
||||
;; To avoid problems with the length of shebangs,
|
||||
;; choose a fixed-width and short directory name
|
||||
;; for tests.
|
||||
|
|
Loading…
Reference in a new issue