From: stuebinm <stuebinm@disroot.org>
To: help-guix@gnu.org
Subject: guix system docker-image: nix not found
Date: Sun, 9 May 2021 20:58:59 +0200 [thread overview]
Message-ID: <99bb06b2-7999-aaff-e21a-ef9c06211742@disroot.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]
Hi all,
I've been playing around with docker containers and guix (both to
package software, and to eventually fit "building guix packages" into a
docker-based CI pipeline).
The guix manual mentions that apart from `guix pack`, `guix system` can
also build docker images of whole system configs, which seemed fitting,
but it lacks an example, and I'm a bit unclear on some points. In
particular, I don't know what to set for the bootloader and file-systems
options in the system config, as neither really applies to a docker
container (I tried not setting them at all, but guix doesn't allow that).
When trying with dummy values (taken from my own system config),
`guix system docker-image system.scm` fails to build the
guix-docker-image.tar.gz.drv, and the build log contains
/gnu/store/...bash-5.0.16/bin/bash: nix: command not found
which doesn't really help.
I'm on a current guix system, i.e. `guix describe` gives:
guix 069399e
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 069399ee9dbf75b7c89583f03346a63b2cfe4ac6
Thanks!
~stuebinm
[1] https://guix.gnu.org/manual/en/html_node/Invoking-guix-system.html
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next reply other threads:[~2021-05-09 19:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 18:58 stuebinm [this message]
2021-05-09 19:46 ` guix system docker-image: nix not found Leo Famulari
2021-05-09 19:59 ` stuebinm
2021-05-09 20:38 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=99bb06b2-7999-aaff-e21a-ef9c06211742@disroot.org \
--to=stuebinm@disroot.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).