From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sKu4J33wAWaAowAAe85BDQ:P1 (envelope-from ) for ; Mon, 25 Mar 2024 22:45:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sKu4J33wAWaAowAAe85BDQ (envelope-from ) for ; Mon, 25 Mar 2024 22:45:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AM+kWiE6; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711403133; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qLGg1ye2op9rQ4h3N0IYXiFYcre8IaBz/T/kUIzdcho=; b=phbo+xCUyF+hRLNHn5tx+whDtfSpDNgNA0he2k5LRkJng6kFLsJ0cphjd62gySqjVwJcFv 4YyefqQmzvjDtuslMbhc04O9wWUL9PhjGc5V8bCkFOGbrGOH7DVH2CyKRCdzdeHZCCo0Jr X9H/zGBAJWD14R70AXfvPs1PVqWcyFnUG55fgSl0bH2tyIvJXyoywKOIdto3qF8Tlyb5d4 cR03ri6NtGxxk7YOniQNPAZbZwCO+BBgM5iKPA0lQZwj6cxAlec7PJfAvOd+lKZvipAAK2 Xl+fFWF/oQ6jgN4ADwXrnksxz/wlUDupyLoW1IlliI1rFxHKLCq+ZKe5KgJOmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AM+kWiE6; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711403133; a=rsa-sha256; cv=none; b=XZd60WDGF8wd8TI5+J+wvue/h4GLeEq63FwnV5e9dhi8ww2BrEhAESpJXH3U6zEtfGx5Bn O6xODY8jVyvwVnp7N0+IyO2ruV1s6krbl4CG2QAme8s8kQxJ8xF/cxWlzVxV3+cYKQ7sT0 nDTX12TSI1ELTwg7Hdbiqmo/ZC47eKRs+AQ/msvt/EHCDtMDz+IIzYw9popMs/fiL1hvr0 Vq3WgPymDrDFXzLaHTKGS5KhwQCWyeZIj8Re1qU/BnKpFhQOR/GtXHqY5lRsZRjug8vtBI QCYm69gyJGXUNv3BvZdRvw812ONrp9BosdxENmYllEEbk8vyDO/rcz0uBX7vqg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 48AC777701 for ; Mon, 25 Mar 2024 22:45:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ros83-0007sL-Lu; Mon, 25 Mar 2024 17:45:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ros82-0007s9-1e for help-guix@gnu.org; Mon, 25 Mar 2024 17:45:14 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ros7z-0007nk-8J for help-guix@gnu.org; Mon, 25 Mar 2024 17:45:13 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-514ba4e5640so5539123e87.1 for ; Mon, 25 Mar 2024 14:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711403107; x=1712007907; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qLGg1ye2op9rQ4h3N0IYXiFYcre8IaBz/T/kUIzdcho=; b=AM+kWiE6GVdj8fsCslkdVagWD9qNw4gcN/FHM3tp7TE1RkBy7lXRtmbCgcE+iAXErG 70I/KFTz998pvthaFzwg+ySVHQIOw+qzK1G4MCaXOjoC8wKJlHBUpix6PRyGvwJlbOak gzUQqp5eSs1pnEQJqJmuOedk+oUjM+i00xGD9GAclwLNCw0awXAgtIST030XedP6zUVv AOSpnd5k/IGRxxMkVy1JvTM7cIfknihZtULxVLAV46KGUBXLmCpMvNtfi7GgdtRJYr4t +KfOQHys60TLnFbhqPrNTP9PIWIZB2Y7FBt+kqMsCrr2XhNsxMs5W/GDQ6QwhE5gijUg Ng5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711403107; x=1712007907; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qLGg1ye2op9rQ4h3N0IYXiFYcre8IaBz/T/kUIzdcho=; b=O548gOpvCZ4AFBzytALypLCAqbhN2LbGluZZjzx4SROn5FB84MdvklA3znd2VzEbYQ xBzZf66VROhaSGoZC2mKz8zMcdSbfY26NC1MVK28+DYyIgUmK74f0GeLhhtlNkkz8XLE /lRI4Htg3u/qaKjw0lafp79k3+ZhauF5TzCA3eu9l5zfUed/CI3ACSeFRd41zlVTB/p4 PRU2xYv1OlAuOTkGIvJPwi0aLQwSnDtn77GC8x+Ceb5MgVdC3dWtWFuFnBVguZ2WEAUz iEQ6SR7pM0bcxHnoyfqDP7QiT+y8mRCv7+sI+GE6miWtOHt7CFNuTnjtQFQDxD3d6T92 xaJg== X-Forwarded-Encrypted: i=1; AJvYcCVVDpahUxVidGhXikP8izhmWm44pewyAJccdnrV5WqiH9J0ah2iIq5n/XxOePHvJYZU+xIQRYW+bF3g1NVJRvk/kA== X-Gm-Message-State: AOJu0Yyvtcu89a24e2818op6SBtAxPqz7Zqp8XdNd0HS/5LYpEH/+q1r j3eVj63hp0NEb6lxSZOwP5gADPQ7aehG/+ZfH0bjLoWIhFcDWgy20eSeouZNiUlf2HY9OvtKXC4 Vtl4vCLAN4WxkHq8/6bnmbhfr8C4= X-Google-Smtp-Source: AGHT+IFtDJG9QTv5llOhFJ0mxMK0LsqTQuTTZ1fQ3lRJJcusUgpCCXqALgpps2pSj9ZHMBtWE+dd6VCRak4ZUY63HJA= X-Received: by 2002:ac2:4d8a:0:b0:512:ec31:1719 with SMTP id g10-20020ac24d8a000000b00512ec311719mr2311720lfe.12.1711403106580; Mon, 25 Mar 2024 14:45:06 -0700 (PDT) MIME-Version: 1.0 References: <87o7b23wfw.fsf@mccd.space> <868r26ouq8.fsf@posteo.net> In-Reply-To: <868r26ouq8.fsf@posteo.net> From: Daniel Littlewood Date: Mon, 25 Mar 2024 21:44:55 +0000 Message-ID: Subject: Re: Setting up on NixOS To: pukkamustard Cc: Marc Coquand , help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=danielittlewood@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 48AC777701 X-Spam-Score: -9.62 X-Migadu-Spam-Score: -9.62 X-Migadu-Scanner: mx11.migadu.com X-TUID: ySJUpi8jyCyn 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-u= se-a-new-channel-nixos-version Best wishes, Dan On Mon, Mar 25, 2024 at 9:41=E2=80=AFPM pukkamustard 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 =3D 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 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.ta= r.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.d= rv': > >> 1 dependencies couldn't be built guix pull: error: build of > >> `/gnu/store/n3bisdsq2xnkcnmhf972k3gmqpnzv0ng-compute-guix-derivation.d= rv' > >> failed > > > > Any clue what I am missing? > > > > Thank you so much in advance, > > Marc > >