unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* A simple workflow for adding apps guix
@ 2017-04-15 23:56 Feng Shu
  2017-04-16 18:21 ` Marius Bakke
  0 siblings, 1 reply; 5+ messages in thread
From: Feng Shu @ 2017-04-15 23:56 UTC (permalink / raw)
  To: guix-devel; +Cc: Feng Shu


The below is the workflow I used current, any other
simpler workflow exists?  comments are welcome!

* I want to add emacs-exwm to emacs.scm

* Fetch newest code
#+BEGIN_EXAMPLE
cd ~/project/guix/  # my guix repo dir
git pull --rebase
#+END_EXAMPLE

* Install newest guix
#+BEGIN_EXAMPLE
guix pull
#+END_EXAMPLE

* Set GUIX_PACKAGE_PATH
#+BEGIN_EXAMPLE
export GUIX_PACKAGE_PATH=${HOME}/guix # I put it to ~/.bashrc :-)
mkdir ~/guix
#+END_EXAMPLE

* Privatize emacs.scm file
#+BEGIN_EXAMPLE
cd ~/guix
mkdir -p gnu/packages
cd gnu/packages
ln -s ~/project/guix/gnu/packages/emacs.scm  # guix repo's emacs.scm file
#+END_EXAMPLE

* Hack -> test -> hack -> test ....

edit ~/project/guix/gnu/packages/emacs.scm
...

Build:   guix build emacs-exwm
Rebuild: guix build emacs-exwm --check
Install: guix package -i emacs-exwm


-- 

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

end of thread, other threads:[~2017-07-23  2:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-15 23:56 A simple workflow for adding apps guix Feng Shu
2017-04-16 18:21 ` Marius Bakke
2017-04-17  2:21   ` tumashu
2017-07-23  2:26     ` Ricardo Wurmus
     [not found]   ` <8760el6kub.fsf@163.com>
2017-07-22 22:04     ` Feng Shu, Marius Bakke

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).