diff options
-rw-r--r-- | gnu/packages/package-management.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 044da9290c..de987b1b7f 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -215,6 +215,13 @@ ;; 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. |