all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* home-environment + local git development
@ 2024-11-06 17:58 Christopher Howard
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Howard @ 2024-11-06 17:58 UTC (permalink / raw)
  To: Guix Devel

Hi, I'm wanting to hack on emacs-guix from a local git checkout. Also, I use guix home with a home-environment file. emacs-guix includes related instructions for using emacs-guix from a local git checkout, but I'm having some issues trying to integrate that into my home environment. This leads me to two separate, but loosely related questions:

(1) in a home-environment file, is there a way I can specify to install the dependencies of a package (emacs-guix) but not the package itself?

(2) in a home-environment file, is there a way to specify that I want to install a package from a local guix.scm file (i.e., the one included in the emacs-guix repo)?

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: home-environment + local git development
@ 2024-11-06 22:27 Christopher Howard
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Howard @ 2024-11-06 22:27 UTC (permalink / raw)
  To: Guix Devel

For posterity, this gave me what I needed:

``` guile scheme
(map cadr (package-propagated-inputs emacs-guix))
```

So I could do

``` guile scheme
(home-environment
  ;; Below is the list of packages that will show up in your
  ;; Home profile, under ~/.guix-home/profile.
 (packages (append
            (map cadr (package-propagated-inputs emacs-guix))
            emacs-packages
            (specifications->packages
             (list "abook"
                   "anki"
                   ...etc...
```

I imagine a package transformation is also possible, to install emacs-guix straight from my local clone, but I haven't looked into this yet.

-- 
Christopher Howard


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-06 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 22:27 home-environment + local git development Christopher Howard
  -- strict thread matches above, loose matches on Subject: below --
2024-11-06 17:58 Christopher Howard

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.