From: "David Wilson" <david@daviwil.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: Testing small changes to upstream Guix repo
Date: Fri, 11 Oct 2019 12:54:47 +0000 [thread overview]
Message-ID: <bef93b1c-4eec-4da9-8ed6-5aff5d7341c7@www.fastmail.com> (raw)
In-Reply-To: <20191008173300.0df659d4@scratchpost.org>
Hi Danny,
Thanks so much for these steps, they worked perfectly for me. The manual has the necessary commands laid out a bit too sparsely; having them concisely presented like this got me over the hurdle.
David
On Tue, Oct 8, 2019, at 3:33 PM, Danny Milosavljevic wrote:
> Hi,
>
> > 2. Clone the Guix repo myself, change the file, and somehow replace the upstream channel with my local repo path
>
> $ git clone -b master --depth 1
> https://git.savannah.gnu.org/git/guix.git guix-foobar
> $ cd guix-foobar
> $ guix environment --pure guix --ad-hoc git guile-readline guile-json
> nano
> (env)$ ./bootstrap
> (env)$ ./configure --localstatedir=/var
> (env)$ make -j5
> # Make sure it succeeds.
> # Lately it was broken for unrelated reasons (po files)--you don't want
> to
> # confuse those errors with errors your change could have caused.
> (env)$ nano gnu/packages/baz.scm
> # Edit your package or whatever it is
> (env)$ make -j5
> (env)$ exit
> $ ./pre-inst-env guix build -K blah
> # On build failure, examine /tmp/guix-build-blah* directory
> # If you want, install the new package into your profile:
> $ ./pre-inst-env guix package -i blah
>
prev parent reply other threads:[~2019-10-11 12:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 13:47 Testing small changes to upstream Guix repo David Wilson
2019-10-08 15:33 ` Danny Milosavljevic
2019-10-11 12:54 ` David Wilson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bef93b1c-4eec-4da9-8ed6-5aff5d7341c7@www.fastmail.com \
--to=david@daviwil.com \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).