diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-10-14 15:22:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-14 17:07:35 +0200 |
commit | 44394ef91796dcc86bdef0b4053f996142c6fc11 (patch) | |
tree | f1b9842faf0c81b9dabc200bcf1f993dd85ce1af | |
parent | 4fa3f7967fb3ea271b52a2fd78c0bcc3feef795e (diff) | |
download | gnu-guix-44394ef91796dcc86bdef0b4053f996142c6fc11.tar gnu-guix-44394ef91796dcc86bdef0b4053f996142c6fc11.tar.gz |
gnu: guile-sly: Remove 2.0-specific bits.
* gnu/packages/guile.scm (guile-sly)[source](modules, snippet): New
fields.
-rw-r--r-- | gnu/packages/guile.scm | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index c3045720c5..6ab120770d 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1346,7 +1346,24 @@ users and in some situations.") version ".tar.gz")) (sha256 (base32 - "1svzlbz2vripmyq2kjh0rig16bsrnbkwbsm558pjln9l65mcl4qq")))) + "1svzlbz2vripmyq2kjh0rig16bsrnbkwbsm558pjln9l65mcl4qq")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "configure" + (("_guile_required_version=\"2.0.11\"") + "_guile_required_version=\"2\"") + (("ac_subst_vars='") + "ac_subst_vars='GUILE_EFFECTIVE_VERSION\n")) + (substitute* (find-files "." "Makefile.in") + (("moddir = .*$") + (string-append + "moddir = " + "$(prefix)/share/guile/site/@GUILE_EFFECTIVE_VERSION@\n")) + (("godir = .*$") + (string-append + "godir = " + "$(prefix)/lib/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))))))) (build-system gnu-build-system) (arguments '(#:configure-flags |