1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-23 10:40:31 +02:00
Files
guix/emacs
Alex Kost 260795b736 emacs: Do not allow a user to modify system profiles.
Fixes <http://bugs.gnu.org/22607>.
Reported by myglc2 <myglc2@gmail.com>.

Remove possibilities to install/delete packages to/from a system profile
both for "Package List" and "Package Info" buffers.

* emacs/guix-profiles.el (guix-system-profile-regexp): New variable.
(guix-system-profile?): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-output): Do not
display "Install"/"Delete" button for a system profile.
(guix-package-assert-non-system-profile): New procedure.
(guix-package-execute-actions): Use it.
2016-02-22 22:36:35 +03:00
..
2016-01-02 17:25:35 +03:00
2015-08-30 18:26:02 +03:00
2014-09-03 23:50:35 +04:00
2016-01-02 17:25:35 +03:00
2015-08-30 18:26:03 +03:00
2016-01-02 17:25:35 +03:00