help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using local package


From: Ricardo Wurmus
Subject: Re: Using local package
Date: Tue, 13 Nov 2018 09:42:43 +0100
User-agent: mu4e 1.0; emacs 26.1

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 “make dist”) and then run

    guix build the-package \
         --with-source=the-tarball.tar.gz

“guix build” returns the store path to the newly built item.  It won’t
result in a new generation of your profile.  You can usually run the
software using the full store path.

--
Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]