[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to connect to guix daemon socket in pure env
From: |
zimoun |
Subject: |
Re: Failed to connect to guix daemon socket in pure env |
Date: |
Fri, 21 Feb 2020 13:59:31 +0100 |
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=address@hidden 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
Re: Failed to connect to guix daemon socket in pure env, zimoun, 2020/02/19