diff options
| author | 2026-06-29 01:07:21 -0700 | |
|---|---|---|
| committer | 2026-06-29 01:07:21 -0700 | |
| commit | c569ab97999e6ac15ee8bfbe1921d51f67a29e82 (patch) | |
| tree | 352fb3d32d7c095bf5da62091ee1f1c9f0ae674b | |
| parent | 3e09d82f40868c41729f16c197edd06268c0e3f5 (diff) | |
| download | emacs-config-c569ab97999e6ac15ee8bfbe1921d51f67a29e82.tar.gz emacs-config-c569ab97999e6ac15ee8bfbe1921d51f67a29e82.zip | |
oni-org: Fix local dependency in Eldev
On the sourcehut build machine this build isn't usint a Guix shell, so the
‘GUIX_ENVIRONMENT’ environment variable isn't set. Default to ‘~/.guix-profile’,
which should be where the build machine installs to.
| -rw-r--r-- | oni-org/Eldev | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-org/Eldev b/oni-org/Eldev index f2baf05..225ee09 100644 --- a/oni-org/Eldev +++ b/oni-org/Eldev @@ -7,7 +7,9 @@ (eldev-use-package-archive `("oni" . ,(expand-file-name "../public/packages"))) (eldev-use-local-dependency - (car (directory-files (format "%s/share/emacs/site-lisp" (getenv "GUIX_ENVIRONMENT")) + (car (directory-files (format "%s/share/emacs/site-lisp" + (or (getenv "GUIX_ENVIRONMENT") + (expand-file-name "~/.guix-profile"))) t "org-pretty-table" nil 1))) (eldev-use-plugin 'autoloads) |
