From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Feng Shu" Subject: Re: emacs.scm: Suggest add emacs-next or emacs-snapshot Date: Sun, 15 Nov 2015 15:06:41 +0800 Message-ID: <87bnavlp1a.fsf@163.com> References: <11cf533a.13b0.150f91df556.Coremail.tumashu@163.com> <87fv0bz8f4.fsf@gnu.org> <87d1vei043.fsf@163.com> <87vb94yfxb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxraG-0007kR-6O for guix-devel@gnu.org; Sun, 15 Nov 2015 02:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxraD-0007nq-1G for guix-devel@gnu.org; Sun, 15 Nov 2015 02:18:44 -0500 Received: from m12-14.163.com ([220.181.12.14]:37374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxraC-0007fs-Bu for guix-devel@gnu.org; Sun, 15 Nov 2015 02:18:40 -0500 In-Reply-To: <87vb94yfxb.fsf@gnu.org> ("Ludovic \=\?iso-8859-1\?Q\?Court\=E8s\?\= \=\?iso-8859-1\?Q\?\=22's\?\= message of "Sat, 14 Nov 2015 12:32:48 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Cc: Feng Shu > For non-trivial use cases, I would suggest writing a file like this: > > (use-modules (guix) (gnu packages emacs)) > > (package > (inherit emacs) > (name "emacs-snapshot") > (source "/path/to/some-file-or-directory.tar.gz")) > > and then run: > > guix package --install-from-file=that-file.scm > It is a good tip, thanks! --