help-guix
[Top][All Lists]
Advanced

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

Re: Setting up on NixOS


From: Daniel Littlewood
Subject: Re: Setting up on NixOS
Date: Mon, 25 Mar 2024 21:44:55 +0000

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
>
>



reply via email to

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