(require 'guix-autoloads)

(defvar guix-load-path
  (replace-regexp-in-string "${prefix}" "/gnu/store/plfvcmvi02i4a2a2gni29n1ijlrs7z7q-guix-0.8.3" "${prefix}/share/guile/site/2.0/guix/emacs")
  "Directory with scheme files for \"guix.el\" package.")

(defcustom guix-package-enable-at-startup t
  "If non-nil, activate Emacs packages installed in a user profile.
Set this variable to nil before requiring `guix-init' file to
avoid loading autoloads of Emacs packages installed in
`guix-user-profile'."
  :type 'boolean
  :group 'guix)

(when guix-package-enable-at-startup
  (require 'guix-emacs)
  (guix-emacs-load-autoloads 'all))

(provide 'guix-init)
