summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-24 22:47:00 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-24 23:26:55 +0100
commit462f3b064f0dd7f6f462b3a8deee5f438f4cd438 (patch)
tree78f1a4887b02c7827d27e7f58615695904d6aa27 /gnu
parent07f55a361e23152b48f34425f116a725cce39e48 (diff)
downloadguix-462f3b064f0dd7f6f462b3a8deee5f438f4cd438.tar.gz
gnu: xen: Fix compilation.
Suggested by Skyler <skyvine@protonmail.com>.

* gnu/packages/virtualization.scm (xen)[arguments]: In 'patch' phase,
substitute ".note.gnu.build-id" in 'xen.lds.S'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/virtualization.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 5909691347..bd297977df 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2152,7 +2152,12 @@ override CC = " (assoc-ref inputs "cross-gcc") "/bin/i686-linux-gnu-gcc"))
               (string-append "runtime_library_dirs = ['"
                              (assoc-ref outputs "out")
                              "/lib'],\nlibrary_dirs =")))
-            #t))
+
+            ;; This needs to be quoted:
+            ;; <https://lists.gnu.org/archive/html/guix-devel/2022-03/msg00113.html>.
+            (substitute* "xen/arch/x86/xen.lds.S"
+              ((".note.gnu.build-id")
+               "\".note.gnu.build-id\""))))
         (add-before 'configure 'patch-xen-script-directory
           (lambda* (#:key outputs #:allow-other-keys)
             (substitute* '("configure"