diff --git a/bootstrap.el b/bootstrap.el index defeb99..b5e50a7 100644 --- a/bootstrap.el +++ b/bootstrap.el @@ -131,12 +131,13 @@ :local-repo "elpa" :build nil))) -(straight-use-recipes - '(nongnu-elpa :type git - :repo "https://git.savannah.gnu.org/git/emacs/nongnu.git" - :depth (full single-branch) - :local-repo "nongnu-elpa" - :build nil)) +(when (boundp 'straight-recepies-nongnu-elpa-url) + (straight-use-recipes + '(nongnu-elpa :type git + :repo ,straight-recipes-nongnu-elpa-url + :depth (full single-branch) + :local-repo "nongnu-elpa" + :build nil))) (straight-use-recipes '(el-get :type git :host github :repo "dimitri/el-get" diff --git a/straight.el b/straight.el index 81ef345..5e95308 100644 --- a/straight.el +++ b/straight.el @@ -3405,6 +3405,11 @@ Otherwise, return nil." ;;;;;; NonGNU ELPA +(defcustom straight-recipes-nongnu-elpa-url + "https://git.savannah.gnu.org/git/emacs/nongnu.git" + "URL of the Git repository for the NONGNU ELPA package repository." + :type 'string) + (defun straight-recipes-nongnu-elpa--translate (recipe) "Translate RECIPE into straight.el-style recipe." (when recipe