My config for straight.el
is pretty standard
;; Disable package.el in favor of straight.el
(setq package-enable-at-startup nil)
;; Bootstrap straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;; Use straight.el for use-package expressions
(straight-use-package 'use-package)
;; using use-package to configure straight
(use-package straight
:custom
(straight-use-package-by-default t)
(straight-base-dir user-emacs-directory))
I noticed that straight still builds some straight.elc
cache file within the repository directory which is set by (straight--repos-dir)
. Is it possible to have a pure segregation between repos and build for all packages, including straight.el
itself?