unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: David Wilson <david@daviwil.com>
Cc: guix-devel@gnu.org
Subject: Re: Testing small changes to upstream Guix repo
Date: Tue, 8 Oct 2019 17:33:00 +0200	[thread overview]
Message-ID: <20191008173300.0df659d4@scratchpost.org> (raw)
In-Reply-To: <f9a22a46-51d1-4f9d-b047-eaaf8754d7c4@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-10-08 15:33 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 [this message]
2019-10-11 12:54   ` David Wilson

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=20191008173300.0df659d4@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=david@daviwil.com \
    --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).