From: Daniel Littlewood <danielittlewood@gmail.com>
To: pukkamustard <pukkamustard@posteo.net>
Cc: Marc Coquand <marc@mccd.space>, help-guix@gnu.org
Subject: Re: Setting up on NixOS
Date: Mon, 25 Mar 2024 21:44:55 +0000 [thread overview]
Message-ID: <CAFDSbVf5oKiCH_O+NQsEXB_E=XRex2XoLFuPA=eLRVK_jBDY7A@mail.gmail.com> (raw)
In-Reply-To: <868r26ouq8.fsf@posteo.net>
Hi, just pitching in to say: I did exactly this (enable guix from
NixOS) and can confirm it appears to work.
However, it's only on the latest stable channel (23.11). If you're on
an old channel, you'll need to upgrade. You can find instructions for
how to do so in the NixOS docs, or here:
https://unix.stackexchange.com/questions/491727/how-do-i-upgrade-nixos-to-use-a-new-channel-nixos-version
Best wishes,
Dan
On Mon, Mar 25, 2024 at 9:41 PM pukkamustard <pukkamustard@posteo.net> wrote:
>
>
> Hi!
>
> I think the problems you are encountering must have something to do with
> build-users not being setup properly.
>
> But maybe a easier way of getting Guix on NixOS is to just enable it!
>
> Afaik putting
>
> ```
> services.guix.enable = true
> ```
>
> in your NixOS system configuration is all you need (see
> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/guix/default.nix).
>
> -pukkamustard
>
> Marc Coquand <marc@mccd.space> writes:
>
> > Hi,
> >
> > I'm having trouble to run Guix on NixOS. I followed the default
> > installation binary, and then started the guix-daemon with
> >
> >> sudo guix-daemon
> >
> > It seems to run without fail:
> >
> >> ~ sudo guix-daemon
> >> [sudo] password for marc:
> >> warning: daemon is running as root, so using `--build-users-group' is highly recommended
> >> accepted connection from pid 55185, user marc
> >
> > Afterward, In a separate terminal I try to run guix pull:
> >
> >> ~ guix pull Updating channel 'guix' from Git repository at
> >> 'https://git.savannah.gnu.org/git/guix.git'... Authenticating channel
> >> 'guix', commits 9edb3f6 to 929ddec (21 new commits)... Building from
> >> this channel: guix https://git.savannah.gnu.org/git/guix.git 929ddec
> >> substitute: guix substitute: warning: ACL for archive imports seems to
> >> be uninitialized, substitutes may be unavailable substitute: updating
> >> substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute:
> >> updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
> >> substitute: updating substitutes from
> >> 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes
> >> from 'https://bordeaux.guix.gnu.org'... 100.0% substitute: updating
> >> substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute:
> >> updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
> >> building
> >> /gnu/store/4xrbn6wh5m1rpj03zcxb224yzg7nf708-autoconf-2.69.tar.xz.drv...
> >> \builder for
> >> `/gnu/store/4xrbn6wh5m1rpj03zcxb224yzg7nf708-autoconf-2.69.tar.xz.drv'
> >> failed with exit code 1 build of
> >> /gnu/store/4xrbn6wh5m1rpj03zcxb224yzg7nf708-autoconf-2.69.tar.xz.drv
> >> failed View build log at
> >> '/var/log/guix/drvs/4x/rbn6wh5m1rpj03zcxb224yzg7nf708-autoconf-2.69.tar.xz.drv.gz'.
> >> building
> >> /gnu/store/br3cg4l213f3frzsynvd8p4qx9v0wxsg-CUnit-2.1-3.tar.bz2.drv...
> >> cannot build derivation
> >> `/gnu/store/rqpsl8zg5akw61jg82fgl8y01l91s5yp-autoconf-2.69.drv': 1
> >> dependencies couldn't be built cannot build derivation
> >> `/gnu/store/mmvk8r4xl3ylq1c44mj4pwk371fnvl0d-autoconf-wrapper-2.69.drv':
> >
> >
> >> 1 dependencies couldn't be built killing process 55220 building
> >> /gnu/store/97z4gi6qvqld54c9q5l6bkj33x997c0f-Python-3.5.9.tar.xz.drv...
> >> cannot build derivation
> >> `/gnu/store/1xh5b299d09nrpgjpwa0wxpz0fs83d7p-guile-gcrypt-0.3.0.drv': 1
> >> dependencies couldn't be built killing process 55221 cannot build
> >> derivation
> >> `/gnu/store/n3bisdsq2xnkcnmhf972k3gmqpnzv0ng-compute-guix-derivation.drv':
> >> 1 dependencies couldn't be built guix pull: error: build of
> >> `/gnu/store/n3bisdsq2xnkcnmhf972k3gmqpnzv0ng-compute-guix-derivation.drv'
> >> failed
> >
> > Any clue what I am missing?
> >
> > Thank you so much in advance,
> > Marc
>
>
next prev parent reply other threads:[~2024-03-25 21:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 20:05 Setting up on NixOS Marc Coquand
2024-03-25 21:33 ` pukkamustard
2024-03-25 21:44 ` Daniel Littlewood [this message]
2024-03-25 23:45 ` Marc Coquand
2024-03-25 22:12 ` VM Guix Brian O'Keefe
2024-03-25 23:08 ` Felix Lechner via
2024-03-26 0:53 ` Brian O'Keefe
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='CAFDSbVf5oKiCH_O+NQsEXB_E=XRex2XoLFuPA=eLRVK_jBDY7A@mail.gmail.com' \
--to=danielittlewood@gmail.com \
--cc=help-guix@gnu.org \
--cc=marc@mccd.space \
--cc=pukkamustard@posteo.net \
/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).