From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Feng Shu" Subject: A simple workflow for adding apps guix Date: Sun, 16 Apr 2017 07:56:46 +0800 Message-ID: <87fuh9dy2p.fsf@163.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czXYs-000354-0t for guix-devel@gnu.org; Sat, 15 Apr 2017 19:57:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czXYn-0006rN-6A for guix-devel@gnu.org; Sat, 15 Apr 2017 19:57:02 -0400 Received: from m12-11.163.com ([220.181.12.11]:57198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czXYm-0006nR-AH for guix-devel@gnu.org; Sat, 15 Apr 2017 19:56:57 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" 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 --