From 3fb8e281b74982989abdfaa1f9742e837101793f Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Sun, 2 Jul 2017 17:47:43 +0300 Subject: [PATCH] gnu: emacs-guix: Update to 0.3.2. * gnu/packages/emacs.scm (emacs-guix): Update to 0.3.2. [arguments]: Add '--with-guix-site-ccache-dir' configure flag, as Guix installs its .go files separately nowadays. --- gnu/packages/emacs.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index abd114d1aa..5177c48a26 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1393,7 +1393,7 @@ type, for example: packages, buffers, files, etc.") (define-public emacs-guix (package (name "emacs-guix") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/alezost/guix.el" @@ -1401,7 +1401,7 @@ type, for example: packages, buffers, files, etc.") "/emacs-guix-" version ".tar.gz")) (sha256 (base32 - "0s7s90rfba8ccbilbvmbcwn4qp4m0jv9y58xq8avm39cygmjgyxz")))) + "0bffxlaq4w9yijl9prnfm26fisr2rd1whjg1yzvri1zl6zh9s0lk")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -1419,6 +1419,13 @@ type, for example: packages, buffers, files, etc.") "2." (basename file))) #:directories? #t))) + (string-append "--with-guix-site-ccache-dir=" + (car (find-files (string-append guix "/lib/guile") + (lambda (file stat) + (string-prefix? + "2." (basename file))) + #:directories? #t)) + "/site-ccache") (string-append "--with-geiser-lispdir=" geiser site-lisp) (string-append "--with-dash-lispdir=" dash site-lisp "/guix.d/dash-"