all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Workflow on top of local Guix checkout
@ 2023-03-29 12:14 Miguel Moreno
  0 siblings, 0 replies; only message in thread
From: Miguel Moreno @ 2023-03-29 12:14 UTC (permalink / raw)
  To: help-guix; +Cc: mmoreno

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

Hi,

I've been trying to set up a development workflow that involves testing
the changes that I make in my local Guix checkout from my personal
configuration directory.  For this, I make use of a ./pre-inst-env
script located at its root with the following contents:

--8<---------------cut here---------------start------------->8---
#!/bin/sh
local_guix_path="../../guile/guix/"
GUILE_LOAD_PATH="$local_guix_path:./src${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
GUILE_LOAD_COMPILED_PATH="$local_guix_path:./src${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH

exec "$@"
--8<---------------cut here---------------end--------------->8---

Where ./src is the entry point of my personal configuration, and
local_guix_path is the path to the Guix checkout.  I should note that
I'm able to replicate this workflow for other Guile/Guix-related
repositories like RDE <https://sr.ht/~abcdw/rde> without any issues, so
clearly there's something particular to the Guix checkout setup-wise
that I'm missing.


-- 
Best regards,
Miguel Moreno

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-31 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29 12:14 Workflow on top of local Guix checkout Miguel Moreno

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.