diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-11-23 22:02:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-11-23 22:45:21 +0100 |
commit | d15e4b1dc25000ba0ec5ae28cd5ea73c7d0ad1c5 (patch) | |
tree | ba076ddd5cb6ae3d9697c1c63b4f54159da5df9e /gnu | |
parent | d630d78104f59fb51a5011f37136bc39b603a696 (diff) | |
download | guix-d15e4b1dc25000ba0ec5ae28cd5ea73c7d0ad1c5.tar.gz guix-d15e4b1dc25000ba0ec5ae28cd5ea73c7d0ad1c5.zip |
gnu: guile-sqlite3: Add "guile3.0-sqlite3" variant.
* gnu/packages/guile.scm (guile-sqlite3)[source](modules, snippet): New
fields.
(guile3.0-sqlite3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/guile.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 2063086575..6526ad2a56 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -541,7 +541,15 @@ Guile's foreign function interface.") (sha256 (base32 "1nv8j7wk6b5n4p22szyi8lv8fs31rrzxhzz16gyj8r38c1fyp9qp")) - (file-name (string-append name "-" version "-checkout")))) + (file-name (string-append name "-" version "-checkout")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Allow builds with Guile 3.0. + (substitute* "configure.ac" + (("^GUILE_PKG.*") + "GUILE_PKG([3.0 2.2 2.0])\n")) + #t)))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -558,6 +566,9 @@ Guile's foreign function interface.") (define-public guile2.0-sqlite3 (package-for-guile-2.0 guile-sqlite3)) +(define-public guile3.0-sqlite3 + (package-for-guile-3.0 guile-sqlite3)) + (define-public guile-bytestructures (package (name "guile-bytestructures") |