From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: How can I add a package outside the guix source dir? Date: Fri, 22 May 2015 11:01:24 +0200 Message-ID: <87fv6pvvdn.fsf@T420.taylan> References: <87oaldvwh6.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvipe-0002pQ-4P for guix-devel@gnu.org; Fri, 22 May 2015 05:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvipa-00044U-EN for guix-devel@gnu.org; Fri, 22 May 2015 05:01:30 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:35653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvipa-00044P-79 for guix-devel@gnu.org; Fri, 22 May 2015 05:01:26 -0400 Received: by wgfl8 with SMTP id l8so11400529wgf.2 for ; Fri, 22 May 2015 02:01:25 -0700 (PDT) In-Reply-To: <87oaldvwh6.fsf@163.com> (Feng Shu's message of "Fri, 22 May 2015 16:37:41 +0800") 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: Feng Shu Cc: guix Feng Shu writes: > I want to add a package which will used by myself, for example: > > I don't want to put it to guix source dir, How can I solve the problem? You can set the environment variable GUIX_PACKAGE_PATH to e.g. ~/.guix-packages then put that package definition into ~/.guix-packages/emacs.scm and it should work. See (info "(guix) Package Modules"), i.e. https://gnu.org/s/guix/manual/html_node/Package-Modules.html Taylan