From 5c8b9a43819e174801597a249d4b46ab2526ca3b Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sat, 24 Aug 2019 18:25:53 +0200 Subject: gnu: sbcl: Enable core compression and xref for internals. * gnu/packages/lisp.scm (sbcl): Do it. --- gnu/packages/lisp.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index a42369ba06..0c94283cc5 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -364,7 +364,8 @@ (define-public sbcl ("inetutils" ,inetutils) ;for hostname(1) ("ed" ,ed) ("texlive" ,(texlive-union (list texlive-tex-texinfo))) - ("texinfo" ,texinfo))) + ("texinfo" ,texinfo) + ("zlib" ,zlib))) (arguments `(#:modules ((guix build gnu-build-system) (guix build utils) @@ -422,6 +423,8 @@ (define (quoted-path input path) ;; them in HOME, so it needs to be writeable. (add-before 'build 'set-HOME (lambda _ (setenv "HOME" "/tmp") #t)) + ;; TODO: We need to install the source as well (`src/code' directory) + ;; so that "go do definition" can work. (replace 'build (lambda* (#:key outputs #:allow-other-keys) (setenv "CC" "gcc") @@ -431,7 +434,9 @@ (define (quoted-path input path) (_ `("clisp"))) (string-append "--prefix=" - (assoc-ref outputs "out"))))) + (assoc-ref outputs "out")) + "--with-sb-core-compression" + "--with-sb-xref-for-internals"))) (replace 'install (lambda _ (invoke "sh" "install.sh"))) -- cgit v1.2.3