2df17bd0ee
For a usual profile, packages are placed in a profile directory itself, but for a system profile, packages are placed in 'profile' sub-directory. So we need to do some special cases for system profiles to find packages there as well. * emacs/guix-base.el (guix-packages-profile): New procedure. (guix-manifest-file): Use it. Add optional 'system?' argument. * emacs/guix-ui-generation.el (guix-system-generation?) (guix-generation-current-packages-profile): New procedures. (guix-generation-packages, guix-generation-insert-packages): Remove 'generation' argument. (guix-generation-packages-buffer): Add optional 'system?' argument. (guix-profile-generation-manifest-file) (guix-profile-generation-packages-buffer): Adjust accordingly. * emacs/guix-main.scm (generation-package-specifications+paths): Rename to... (profile->specifications+paths): ... this. Use a single 'profile' argument. |
||
---|---|---|
.. | ||
guix-backend.el | ||
guix-base.el | ||
guix-buffer.el | ||
guix-build-log.el | ||
guix-command.el | ||
guix-config.el.in | ||
guix-devel.el | ||
guix-emacs.el | ||
guix-entry.el | ||
guix-external.el | ||
guix-geiser.el | ||
guix-guile.el | ||
guix-help-vars.el | ||
guix-helper.scm.in | ||
guix-history.el | ||
guix-hydra-build.el | ||
guix-hydra-jobset.el | ||
guix-hydra.el | ||
guix-info.el | ||
guix-init.el | ||
guix-list.el | ||
guix-main.scm | ||
guix-messages.el | ||
guix-pcomplete.el | ||
guix-popup.el | ||
guix-prettify.el | ||
guix-profiles.el | ||
guix-read.el | ||
guix-ui-generation.el | ||
guix-ui-package.el | ||
guix-ui.el | ||
guix-utils.el |