Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-30 Thread Mathieu Lirzin
Alex Kost alez...@gmail.com writes: Both updated patches look good to me. Thank you. I have rebased those patches upon the current master branch. There was only a slight merge conflict in emacs.am for this one. From bd6163d13f6445b9a1ec0f85e4a19b9f73ab74ea Mon Sep 17 00:00:00 2001 From:

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-30 Thread Alex Kost
Mathieu Lirzin (2015-08-30 20:55 +0300) wrote: Alex Kost alez...@gmail.com writes: Both updated patches look good to me. Thank you. I have rebased those patches upon the current master branch. There was only a slight merge conflict in emacs.am for this one. I can only repeat that this

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-26 Thread Alex Kost
Mathieu Lirzin (2015-08-26 00:16 +0300) wrote: Alex Kost alez...@gmail.com writes: I forgot one thing. There is also emacs.am file, which should be adjusted accordingly: i.e., to move guix-init.el and guix-profiles.el into ELFILES and to add guix-config.el to nodist_lisp_DATA. Here is the

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-25 Thread Mathieu Lirzin
Alex Kost alez...@gmail.com writes: I forgot one thing. There is also emacs.am file, which should be adjusted accordingly: i.e., to move guix-init.el and guix-profiles.el into ELFILES and to add guix-config.el to nodist_lisp_DATA. Here is the updated patch. -- Mathieu Lirzin From

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-13 Thread Alex Kost
Mathieu Lirzin (2015-08-06 20:50 +0300) wrote: From 4ed6955bf3edf2b3979e47958412ad41d2bc191e Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin m...@openmailbox.org Date: Thu, 6 Aug 2015 11:36:53 +0200 Subject: [PATCH 1/3] build: Produce 'guix-config' instead of using compile-time tricks. *

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-08-06 Thread Mathieu Lirzin
Alex Kost alez...@gmail.com writes: Mathieu Lirzin (2015-07-28 00:48 +0300) wrote: [...] +(defconst guix-prefix + @prefix@) + +(defconst guix-emacs-ui-dir + @emacsuidir@) I think this constant is useless in this form since its value will be ${prefix}/share/guile/site/2.0/guix/emacs.

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-07-29 Thread Alex Kost
Mathieu Lirzin (2015-07-28 00:48 +0300) wrote: [...] +(defconst guix-prefix + @prefix@) + +(defconst guix-emacs-ui-dir + @emacsuidir@) I think this constant is useless in this form since its value will be ${prefix}/share/guile/site/2.0/guix/emacs. What about making it: (defconst

[PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-07-27 Thread Mathieu Lirzin
* emacs/guix-config.el.in: New file. * emacs/guix-{init,profiles}.el.in: Rename to ... * emacs/guix-{init,profiles}.el: ... these. New files. Use 'guix-config'. * .gitignore, configure.ac: Adjust accordingly. --- .gitignore| 3 +-- configure.ac | 19

Re: [PATCH 2/4] build: Produce 'guix-config' instead of using compile-time tricks.

2015-07-27 Thread Mathieu Lirzin
Mathieu Lirzin m...@openmailbox.org writes: diff --git a/emacs/guix-config.el.in b/emacs/guix-config.el.in new file mode 100644 index 000..542de15 --- /dev/null +++ b/emacs/guix-config.el.in [...] +(defconst guix-local-state-dir + @guix_localstatedir@oo) ^^