From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Using local package Date: Tue, 13 Nov 2018 09:42:43 +0100 Message-ID: <87r2fpv058.fsf@elephly.net> References: <87ftw5igbs.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMUmL-000610-7j for help-guix@gnu.org; Tue, 13 Nov 2018 04:14:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMUWR-0006GW-27 for help-guix@gnu.org; Tue, 13 Nov 2018 03:58:16 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gMUWQ-0006CP-I7 for help-guix@gnu.org; Tue, 13 Nov 2018 03:58:10 -0500 In-reply-to: <87ftw5igbs.fsf@posteo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Brett Gilio Cc: Help Guix Hi Brett, > I am wondering about a specific dilemma for developers. I know that I > can run a specific guix environment container of sorts to hack on > package code, but I am curious about how I could do about using that > locally checked out code to build it and run it. You can generate a tarball (e.g. with =E2=80=9Cmake dist=E2=80=9D) and then= run guix build the-package \ --with-source=3Dthe-tarball.tar.gz =E2=80=9Cguix build=E2=80=9D returns the store path to the newly built item= . It won=E2=80=99t result in a new generation of your profile. You can usually run the software using the full store path. -- Ricardo