help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pack development inputs from a package


From: Greg Hogan
Subject: Re: How to pack development inputs from a package
Date: Mon, 23 Sep 2024 10:08:16 -0400

On Fri, Sep 20, 2024 at 9:47 AM Reza Housseini <reza.housseini@gmail.com> wrote:
>
> Hi Guixers
>
> From guix shell I can call
>
>   guix shell -D -f guix.scm
>
> Now I want to pack those into a container with guix pack, but there is
> no equivalent command there, how would I achieve this, is there an
> expression I could use?
>
> Something along the way
>
>   guix pack -f docker -e '(package->development-manifest (from-file 
> "guix.scm"))'

You have a manifest for the package, why not create a second manifest
for the container which includes guix.scm and returns the result of
package->development-manifest (or returns that concatenated with
additional useful development packages)?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]