From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Installing a custom package on Guix binary setup Date: Mon, 31 Aug 2015 16:03:38 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWVIs-0001cw-O3 for guix-devel@gnu.org; Mon, 31 Aug 2015 16:03:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWVIp-0002Rx-Hv for guix-devel@gnu.org; Mon, 31 Aug 2015 16:03:42 -0400 Received: from mail-qk0-f179.google.com ([209.85.220.179]:33869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWVIp-0002Ri-Ev for guix-devel@gnu.org; Mon, 31 Aug 2015 16:03:39 -0400 Received: by qkct7 with SMTP id t7so14728493qkc.1 for ; Mon, 31 Aug 2015 13:03:38 -0700 (PDT) In-Reply-To: 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: Vicente Vera Cc: guix-devel Hi Vicente, On Mon, Aug 31, 2015 at 12:42 PM, Vicente Vera wrote: > Hello, > > Currently i'm using a Guix binary installation on top of my GNU/Linux > distro. Setup went fine. > > So far i've installed only substitutes (everything OK), but there are > some packages that I want to tweak a little. > > How can I install a customized .scm package definition? > > For example, I want to pass some configure flags to Emacs (such as > '#:configure-flags '("--without-dbus" ...)'). I copied > /gnu/store/dbf9i96ac2pbyaibg591bx90a8zhvngc-guix-latest/gnu/packages/emacs.scm > somewhere else, did some editing, but now I'm not sure what to do with > it. > > Going through the mailing list i've found out that I might need to > build Guix from source to do such a thing, but want to know if it can > be done with a binary installation. You'll want to create your own directory of Guile modules that contain Guix package objects and configure the GUIX_PACKAGE_PATH environment variable so Guix will find them. See for more details. - Dave