help-guix
[Top][All Lists]
Advanced

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

question on workflow for package definition development


From: Andy Tai
Subject: question on workflow for package definition development
Date: Fri, 19 Mar 2021 13:23:11 -0700

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



reply via email to

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