From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [Non-root Guix]: Unable to build guix Date: Thu, 02 May 2019 22:33:10 +0200 Message-ID: <87ftpwwq9l.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMJ6m-0000az-Q0 for guix-devel@gnu.org; Thu, 02 May 2019 17:19:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMJ6l-0003Sr-Qj for guix-devel@gnu.org; Thu, 02 May 2019 17:19:12 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMJ6l-0003ME-HJ for guix-devel@gnu.org; Thu, 02 May 2019 17:19:11 -0400 In-reply-to: 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: rohit yadav Cc: guix-devel@gnu.org Hi, > I am trying to prepare guix for installing at non-root location. I have > followed the documentation available here: > https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#error-in-pro= cedure-scm-error-no-code-for-module-gcrypt-hash I=E2=80=99d just like to note that this is not official documentation of the Guix project. I don=E2=80=99t know if this is still accurate information. Do you want to build everything from source on your system or do you prefer to use binaries from the Guix project=E2=80=99s build farms? Do you= have access to user namespaces / can you use =E2=80=9Cunshare=E2=80=9D for file = system shenanigans? > ./pre-inst-env guix package -i guix We don=E2=80=99t recommend using Guix from a git checkout in most cases, be= cause=E2=80=A6 > substitute: ERROR: In procedure scm-error: > substitute: no code for module (gcrypt hash) =E2=80=A6you would need to take care of providing the appropriate Guile environment all by yourself whereas =E2=80=9Cguix pull=E2=80=9D does all of= this for you. This error tells you that guile-gcrypt is not available in the environment in which the daemon runs. I would also like to suggest an alternative to a root-less installation. At the HPC cluster where I work we run the guix-daemon as root on a virtual machine where /gnu/store is a writable NFS share. Every machine that uses Guix only needs to mount this share as read-only. -- Ricardo