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: Fri, 21 Feb 2020 13:59:31 +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]:54050) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j57uD-0001qf-Ju for help-guix@gnu.org; Fri, 21 Feb 2020 07:59:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j57uC-0001VK-J2 for help-guix@gnu.org; Fri, 21 Feb 2020 07:59:45 -0500 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]:44790) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j57uC-0001Tf-FO for help-guix@gnu.org; Fri, 21 Feb 2020 07:59:44 -0500 Received: by mail-qv1-xf43.google.com with SMTP id n8so913374qvg.11 for ; Fri, 21 Feb 2020 04:59:44 -0800 (PST) In-Reply-To: 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, Let send you first contribution. ;-) Well, now you should be to build your package, something like: guix build -f your-definition.scm where the file your-defintion.scm contains the recipe of your package. Then, the instructions about how to submit. 1. clone from savanah and go to the directory 2. guix environment --container guix --ad-hoc git git:sendemail emacs 3. ./bootstrap && ./configure --localstatedir=/var/ && make 4. add the definition in the file gnu/packages/emacs-xyz.scm Do not forget: a) to add your name on the top (copyright) and b) check the indentation (M-C-q using Emacs on the opening parenthesis of your addition) 5. check it works, first by searching or showing it: ./pre-inst-env guix search emacs ac geiser ./pre-inst-env guix show emacs-ac-geiser 6. Build it and address the warnings ./pre-inst-env guix build emacs-ac-geiser 7. Verify the reproducibility ./pre-inst-env guix build emacs-ac-geiser --no-grafts --check -K 8. Lint and address the issue ./pre-env-inst guix lint emacs-ac-geiser If everything is fine, let commit and submit. Look at other commit messages to find inspiration :-) Roughly speaking: gnu: Add emacs-ac-geiser. * gnu/packages/emacs-xyz.scm (emacs-ac-geiser): New variable. There is yasnippet for Emacs which eases the addition. Last, use format-patch: git format-patch -n1. And send it: git send-email --to=guix-patches@gnu.org 0001-Add-blablabla.patch Maybe you need to configure your smtp in ~/.gitconfig: [sendemail] smtpServer = smtpServerPort = smtpEncryption = tls smtpUser = smtpPass = And if you are still motivated, you could add all the "first contribution" process to the Cookbook. ;-) Cheers, simon