diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-03-07 19:01:14 +0530 |
---|---|---|
committer | Guix Patches Tester <> | 2020-03-07 13:33:12 +0000 |
commit | deb2ae4e3ba107ece5c695994ccbb3ff8dff43d8 (patch) | |
tree | 81d06e2e2b46f7b9035792d159fe0d05196b5557 /build-aux | |
parent | 4c8b874f95b4de2648bb9adee64bf002772321f2 (diff) | |
download | guix-patches-deb2ae4e3ba107ece5c695994ccbb3ff8dff43d8.tar guix-patches-deb2ae4e3ba107ece5c695994ccbb3ff8dff43d8.tar.gz |
build-self: Add guile-xapian to Guix dependencies.
* build-aux/build-self.scm (build-program): Import fake guile-xapian module.
* guix/self.scm (compiled-guix): Add guile-xapian to Guix dependencies.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/build-self.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm index f2e785b7f1..05d0353ccf 100644 --- a/build-aux/build-self.scm +++ b/build-aux/build-self.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -261,6 +262,10 @@ interface (FFI) of Guile.") #~(define-module (gcrypt hash) #:export (sha1 sha256)))) + (define fake-xapian-hash + ;; Fake (xapian xapian) module; see below. + (scheme-file "xapian.scm" #~(define-module (xapian xapian)))) + (define fake-git (scheme-file "git.scm" #~(define-module (git)))) @@ -273,6 +278,12 @@ interface (FFI) of Guile.") ;; adjust %LOAD-PATH later on. ((gcrypt hash) => ,fake-gcrypt-hash) + ;; To avoid relying on 'with-extensions', which was + ;; introduced in 0.15.0, provide a fake (xapian + ;; xapian) just so that we can build modules, and + ;; adjust %LOAD-PATH later on. + ((xapian xapian) => ,fake-xapian-hash) + ;; (guix git-download) depends on (git) but only ;; for peripheral functionality. Provide a dummy ;; (git) to placate it. |