From 9d50b486ac1ae23038b8bc42cef5cce789520b0e Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 13 Jun 2023 18:56:58 -0700 Subject: [PATCH] [oni-package] Clear package archives so that I can't use them --- oni-package.el | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/oni-package.el b/oni-package.el index 0a283a8..e0594b9 100644 --- a/oni-package.el +++ b/oni-package.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2022.0323.191305 +;; Version: 2023.0613.184755 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -47,35 +47,11 @@ ;;;###autoload (setq package-enable-at-startup nil) -;;;###autoload (add-hook 'after-init-hook 'package-initialize) - +;;; Disable any package archives to make sure that I can't install any packages +;;; through ELPA. I use Guix and should install packages through there. +;; From: https://github.com/nekifirus/.emacs.d#packages-setup ;;;###autoload -(add-to-list 'package-archives - '("nongnu" . "https://elpa.nongnu.org/nongnu/")) - -;;;###autoload -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/")) - -;;;###autoload -(add-to-list 'package-archives - '("oni" . "https://ryuslash.org/elpa/")) - -;;;###autoload -(add-to-list 'package-archives - '("vc-p4" . "https://ryuslash.gitlab.io/vc-p4/")) - -;;;###autoload -(add-to-list 'package-archives - '("circe-serenity" . "https://ryuslash.gitlab.io/circe-serenity/")) - -;;;###autoload -(add-to-list 'package-archives - '("org-azure-devops" . "https://ryuslash.gitlab.io/org-azure-devops/")) - -;;;###autoload -(add-to-list 'package-archives - '("tekuti-el" . "https://ryuslash.srht.site/tekuti-el/elpa/")) +(setq package-archives nil) (setq package-update-news-on-upload t)