unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* question on workflow for package definition development
@ 2021-03-19 20:23 Andy Tai
  2021-03-20  8:51 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Tai @ 2021-03-19 20:23 UTC (permalink / raw)
  To: help-guix

Hi, currently for updating package definitions in guix.git,  these are
the steps I am following:

(from https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#building-gnu-guix-from-source-using-guix---the-bullet-proof-way)

in guix.git

guix pull

guix environment -C guix --ad-hoc bash vim guile-json

(in the new environment)

gcc --version
guile --version
rm -rf autom4te.cache/ # to be sure
make clean
./bootstrap
./configure --localstatedir=/var
make clean    # to be really sure
make clean-go # to be even surer
time make -j 4

(then getting out of the special environment)
updating the relevant .scm files, testing build with

./pre-inst-env guix build -k -K <target>

etc.)

However, now every time after I do git pull in guix.git, I need to
repeat the steps above from

guix environment -C guix --ad-hoc bash vim guile-json

and make clean, re-configure, etc..  I find that just redoing make (in
the special guix environment) will not work.

Is there a way to avoid make clean and rebuilding the whole tree?  I
wonder if I was missing something.  Rebuilding every time is just time
consuming.  Thanks for info on this


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-20  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 20:23 question on workflow for package definition development Andy Tai
2021-03-20  8:51 ` Ricardo Wurmus

unofficial mirror of help-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git