Hi Reza,
Reza Housseini <reza.housse...@gmail.com> writes:
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"))'
I believe you just need to bring the package’s inputs and
native-inputs along. This probably isn’t quite right, but should
be close:
guix pack -f docker -e '(let ((pkg (from-file "guix.scm")))
(append (package-inputs pkg) (package-native-inputs pkg)))'
— Ian