From: "Feng Shu" <tumashu@163.com>
To: guix-devel <guix-devel@gnu.org>
Cc: Feng Shu <tumashu@163.com>
Subject: A simple workflow for adding apps guix
Date: Sun, 16 Apr 2017 07:56:46 +0800 [thread overview]
Message-ID: <87fuh9dy2p.fsf@163.com> (raw)
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
--
next reply other threads:[~2017-04-15 23:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-15 23:56 Feng Shu [this message]
2017-04-16 18:21 ` A simple workflow for adding apps guix 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
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=87fuh9dy2p.fsf@163.com \
--to=tumashu@163.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).