From c569ab97999e6ac15ee8bfbe1921d51f67a29e82 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 29 Jun 2026 01:07:21 -0700 Subject: 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. --- oni-org/Eldev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.3-2-g0d8e