From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Failed to connect to guix daemon socket in pure env Date: Thu, 20 Feb 2020 11:10:52 +0100 Message-ID: References: <9d04adf9788c91b74161fa8af84a33ee9bdb7b6b.camel@korwin-zmijowski.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58234) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4inR-0007W4-Jn for help-guix@gnu.org; Thu, 20 Feb 2020 05:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4inQ-0007LJ-Dk for help-guix@gnu.org; Thu, 20 Feb 2020 05:11:05 -0500 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:33277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4inQ-0007KJ-7w for help-guix@gnu.org; Thu, 20 Feb 2020 05:11:04 -0500 Received: by mail-qk1-x72c.google.com with SMTP id h4so3034466qkm.0 for ; Thu, 20 Feb 2020 02:11:03 -0800 (PST) In-Reply-To: <9d04adf9788c91b74161fa8af84a33ee9bdb7b6b.camel@korwin-zmijowski.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: Jeremy Korwin-Zmijowski Cc: help-guix Hi Jeremy, Could you please trim your emails when you answer? On Thu, 20 Feb 2020 at 09:13, Jeremy Korwin-Zmijowski wrote: > > > $ ./pre-inst-env guix import elpa --archive=melpa-stable ac-geiser > > > > > > I copied the resulted definition in "emacs-ac-geiser-imported.scm" > > > > > > $ guix environment --pure guix --ad-hoc emacs emacs-geiser emacs- > > > auto- > > > complete > > > > > > $ ./pre-inst-env guix package --install-from-file=emacs-ac-geiser- > > > imported.scm I miss why you need ./pre-inst-env if you build from a local file. The command: guix build -f /tmp/emacs-ac-geiser.scm should be enough, without the "./bootstrap && ./configure --localstatedir=/var/ && make" dance. Considering the definition of 'ac-geiser' it does not build because the dependencies to 'geiser' and 'auto-complete' are missing. It is easy to add them: #:use-module (gnu packages emacs-xyz) and the field 'inputs' (inputs `(("geiser" ,geiser) ("auto-complete" ,emacs-auto-complete))) and you are done. > Sorry for flooding, but I realized that the issue I created this thread > for is solved so I should create another one to go on my next problems. As you want. :-) Cheers, simon