From 121d2e860397e428ffb296571ca5c2198b0f46ff Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Thu, 4 Feb 2021 16:55:25 +0100 Subject: README, manual: Update installation instructions Add installation instructions for nix flakes. --- doc/git-email.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/git-email.org') diff --git a/doc/git-email.org b/doc/git-email.org index 84b1d23..cf6bdea 100644 --- a/doc/git-email.org +++ b/doc/git-email.org @@ -136,6 +136,25 @@ patch from the magit status buffer by pressing =W c s=. * Installation You can install it by cloning this repo and adding =git-email= to your =load-path=. +** Nix +If you are using [[https://nixos.wiki/wiki/Flakes][nix flakes]], three versions of the package are +available: + +- =git-email-full-git= -- This includes all the optional libraries as + is built from the latest master branch. + +- =git-email-git= -- This only contains the core `git-email.el` + library and is built from the latest master branch. + +- =git-email= -- This is the package from the latest release. + +You can install the package with + +#+begin_src sh +nix profile install "git+https://git.sr.ht/~yoctocell/git-email#git-email{-full-git,-git}" +#+end_src + + * Acknowledgements Thank you Protesilaos Stavrou for your extensive testing and feedback! -- cgit v1.2.3