help-guix
[Top][All Lists]
Advanced

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

Re: Setting up on NixOS


From: pukkamustard
Subject: Re: Setting up on NixOS
Date: Mon, 25 Mar 2024 21:33:36 +0000

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]