diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-16 02:51:56 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-16 04:11:46 +0100 |
| commit | 1a8a6b7c9bb59700f9660d46ef2a2730551f0412 (patch) | |
| tree | e42f6791f03d7b4bceeeef7d711dea9a52ba79ed /gnu | |
| parent | b91e0a5a14009421f9c6a62f6fc8372bed27faf2 (diff) | |
gnu: xen: Fix build failure.
This reverts commit 6177320d7816f2115bb0f6027cd51c29903fe45e,
obsoleted by <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30756>.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/virtualization.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index ae903261cc6..1b21aac669a 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm | |||
| @@ -1901,13 +1901,14 @@ override CC = " (assoc-ref inputs "cross-gcc") "/bin/i686-linux-gnu-gcc")) | |||
| 1901 | new-search-path ":"))) | 1901 | new-search-path ":"))) |
| 1902 | (setenv env-name new-env-value))) | 1902 | (setenv env-name new-env-value))) |
| 1903 | environment-variable-names)) | 1903 | environment-variable-names)) |
| 1904 | (setenv "CROSS_CPATH" (getenv "CPATH")) | 1904 | (setenv "CROSS_C_INCLUDE_PATH" (getenv "C_INCLUDE_PATH")) |
| 1905 | (setenv "CROSS_CPLUS_INCLUDE_PATH" (getenv "CPLUS_INCLUDE_PATH")) | ||
| 1905 | (setenv "CROSS_LIBRARY_PATH" (getenv "LIBRARY_PATH")) | 1906 | (setenv "CROSS_LIBRARY_PATH" (getenv "LIBRARY_PATH")) |
| 1906 | (filter-environment! cross? | 1907 | (filter-environment! cross? |
| 1907 | '("CROSS_CPATH" | 1908 | '("CROSS_C_INCLUDE_PATH" "CROSS_CPLUS_INCLUDE_PATH" |
| 1908 | "CROSS_LIBRARY_PATH")) | 1909 | "CROSS_LIBRARY_PATH")) |
| 1909 | (filter-environment! (lambda (e) (not (cross? e))) | 1910 | (filter-environment! (lambda (e) (not (cross? e))) |
| 1910 | '("CPATH" | 1911 | '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH" |
| 1911 | "LIBRARY_PATH")) | 1912 | "LIBRARY_PATH")) |
| 1912 | ;; Guix tries to be helpful and automatically adds | 1913 | ;; Guix tries to be helpful and automatically adds |
| 1913 | ;; mini-os-git-checkout/include to the include path, | 1914 | ;; mini-os-git-checkout/include to the include path, |
| @@ -1916,7 +1917,7 @@ override CC = " (assoc-ref inputs "cross-gcc") "/bin/i686-linux-gnu-gcc")) | |||
| 1916 | (not | 1917 | (not |
| 1917 | (string-contains e | 1918 | (string-contains e |
| 1918 | "mini-os-git-checkout"))) | 1919 | "mini-os-git-checkout"))) |
| 1919 | '("CPATH" | 1920 | '("C_INCLUDE_PATH" "CPLUS_INCLUDE_PATH" |
| 1920 | "LIBRARY_PATH")) | 1921 | "LIBRARY_PATH")) |
| 1921 | (setenv "EFI_VENDOR" "guix") | 1922 | (setenv "EFI_VENDOR" "guix") |
| 1922 | #t)) | 1923 | #t)) |
