all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pukkamustard <pukkamustard@posteo.net>
To: Marc Coquand <marc@mccd.space>
Cc: help-guix@gnu.org
Subject: Re: Setting up on NixOS
Date: Mon, 25 Mar 2024 21:33:36 +0000	[thread overview]
Message-ID: <868r26ouq8.fsf@posteo.net> (raw)
In-Reply-To: <87o7b23wfw.fsf@mccd.space>


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	other threads:[~2024-03-25 21:41 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 [this message]
2024-03-25 21:44   ` Daniel Littlewood
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868r26ouq8.fsf@posteo.net \
    --to=pukkamustard@posteo.net \
    --cc=help-guix@gnu.org \
    --cc=marc@mccd.space \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.