1 ;;; guix-config.el --- Compile-time configuration of Guix.
3 ;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
4 ;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;; This file is part of GNU Guix.
8 ;; GNU Guix is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
13 ;; GNU Guix is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
23 (defconst guix-config-name
"@PACKAGE_NAME@"
26 (defconst guix-config-version
"@PACKAGE_VERSION@"
29 (defconst guix-config-emacs-interface-directory
30 (replace-regexp-in-string "${prefix}" "@prefix@" "@emacsuidir@"))
32 (defconst guix-config-state-directory
33 ;; This must match `NIX_STATE_DIR' as defined in `nix/local.mk'.
34 (or (getenv "NIX_STATE_DIR") "@guix_localstatedir@/guix"))
36 (defconst guix-config-guile-program
"@GUILE@"
37 "Name of the 'guile' executable defined at configure time.")
39 (defconst guix-config-dot-program
"@DOT_USER_PROGRAM@"
40 "Name of the 'dot' executable defined at configure time.")
42 (provide 'guix-config
)
44 ;;; guix-config.el ends here