branch: externals/system-packages
commit 2046209de1fbac1e02b48b9a8102643c0847feac
Author: Alex Branham <[email protected]>
Commit: Alex Branham <[email protected]>
Make system-packages-supported-package-managers a defvar
Since the README shows how to modify this, it shouldn't be a defconst
---
system-packages.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/system-packages.el b/system-packages.el
index d2fb348..4bf9175 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -49,7 +49,7 @@
:prefix "system-packages"
:group 'packages)
-(defconst system-packages-supported-package-managers
+(defvar system-packages-supported-package-managers
'(
;; guix
(guix .
@@ -259,7 +259,10 @@
(list-installed-packages . "xbps-query -l ")
(list-installed-packages-all . "xbps-query -l ")
(list-dependencies-of . "xbps-query -x")
- (noconfirm . nil)))))
+ (noconfirm . nil))))
+ "An alist of package manager commands.
+The key is the package manager and values (usually) commands.")
+(put 'system-packages-supported-package-managers 'risky-local-variable t)
(defcustom system-packages-package-manager
(cl-loop for (name . prop) in system-packages-supported-package-managers