From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WMZEJNwywmXIsQAAe85BDQ:P1 (envelope-from ) for ; Tue, 06 Feb 2024 14:23:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WMZEJNwywmXIsQAAe85BDQ (envelope-from ) for ; Tue, 06 Feb 2024 14:23:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="oJzf/oYj"; dmarc=pass (policy=none) header.from=zancanaro.id.au; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707225820; a=rsa-sha256; cv=none; b=Icm1aXpKUP7mLP68ZqsOXSKF9EVvB4hdSeB7M8gopnm+PrMIm5WWEn5nzavh9EVIeVoxW/ XAcQhU6l8xN6LREQc8Z7qUR2hOOoI1NleL0uYTd2MsarZJcbuztYGYPVrqeiQogzGHYe+6 frJhJjcCyZGAqMD1F/tMcDpv0N9ie0u3AMXoqwsRN4scm98qV9kU4t69FaA4HQTTE74syk XRxsZgE9HjS62UmGlHNiexImyb0YPU5y9CaX691vx28sFwUca3izJdsgU2P8JLPp2kxm5A nhKFN8dbXzU/gZwKnjhNLsDLSGJN9c7ufNyjgsd778c+C/PL/tfIy7XfxH8p7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=zancanaro.id.au header.s=k1 header.b="oJzf/oYj"; dmarc=pass (policy=none) header.from=zancanaro.id.au; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707225820; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9NvOudXjPhG+uK3a4Emh0WHik7a7taRVAMapIAZFsu8=; b=pupcTJvcnKtq2RDVzh5gLiSqLSlaYCXbRPijUByyUZ6yBNNRoqHBSOVXD3X3TFnY/63wkU DIBnVKFj/20aTsdB024hIyiTldJGnnmFqQwBrKWqBUq5yZQC6JuLsIkuk2XXRsfJqcD7jP ohnOKIUbE+ykuKRepZ//ZEku09OGHs99pjbE6rVZUusoVXTGP6rOkVDFgAyr9yAhQogECe NlIyOZaJg7jPyxPCfhDzLckTVl9m4n6ZZFCJhuYCp5S8/+B1c7b4hruTBMsp5rL7CkgXLF O+VpCnFqG0WsY0EIGfyHOBSZ5AyjmPf5XyEAl4v8EOLhGB5ZaOTWqLSbpEPZrA== 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 8134DD77C for ; Tue, 6 Feb 2024 14:23:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXLPe-0004ww-3W; Tue, 06 Feb 2024 08:23:01 -0500 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 1rXLPc-0004vw-EW for guix-devel@gnu.org; Tue, 06 Feb 2024 08:22:56 -0500 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXLPa-00078t-Il for guix-devel@gnu.org; Tue, 06 Feb 2024 08:22:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=9NvOudXjPhG+uK3 a4Emh0WHik7a7taRVAMapIAZFsu8=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=oJzf/oYjXJs7M9x87j0sfo3QqitH6zdHrO+XA 4mC/eeoQkBWaDs8KovzOlHy+hw4fJTnUXdJ5rdmO0W+3g/ww+vRBoAVu2rKQRBlLoUh2cE 3SM2vPjfC7Yrk2IZCNGarLN+DK6YGDQpVY5+ibG29klYhWaQTbB64jy06gB17ZJI= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 1cd3d444 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 6 Feb 2024 13:22:46 +0000 (UTC) From: Carlo Zancanaro To: Christian Miller Cc: guix-devel@gnu.org Subject: Re: Experience using the Nix service as a novice user In-Reply-To: <87y1c080bq.fsf@dadoes.de> (Christian Miller's message of "Sun, 04 Feb 2024 21:02:33 +0100") References: <87y1c080bq.fsf@dadoes.de> Date: Wed, 07 Feb 2024 00:22:49 +1100 Message-ID: <871q9piv6e.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -10.17 X-Migadu-Queue-Id: 8134DD77C X-Migadu-Spam-Score: -10.17 X-TUID: 1A91p/WoEIpH Hi Christian! On Sun, Feb 04 2024, Christian Miller wrote: > I wanted to try out the Nix service and followed the manual. I had > some trouble while doing so. The following are the steps I took, the > errors I encountered, and how I resolved them. As well as feedback to > the experience. Thank you for this feedback! I recently installed the Nix service myself, and ran into these rough edges, but I didn't think to write them down or fix things. Thank you for the clear and detailed prompt to do so. I've just sent a patch to guix-patches with some updates to the manual which attempts to add the pieces that you found were missing. Could you have a look at that and make sure you're happy with what I've written? > At this point, I started encountering problems. The command > "nix-channel --update" returns: > > unpacking channels... > error: opening pseudoterminal master: No such device > error: program > '/gnu/store/mh2nc81cvw321q0lx4y38g4n7b86q88y-nix-2.16.1/bin/nix-env' > failed with exit code 1 > > This was easy to fix because I had found this solution[1] > > sudo herd restart nix-daemon I didn't mention this in the manual, because this seems more like a bug that should be fixed. I've also had the same issue, so I'll try to investigate the next time it happens to see if I can fix it. > I initially attempted this within a VM ($(guix system vm nix.scm) -m > 4096 -smp 2) that had 4 GiB of memory and 2 cores. The process was > terminated. Is it normal for Nix to require such a large amount of > resources to install a package? I wouldn't expect it to need that much, unless it was needing to build things from source. Usually Nix's substitute coverage is pretty good, so I wouldn't expect you to need to build much from source. Carlo