Guix

by Daniel Pimentel — Sat 12 December 2015

GNU Guix1 is a package management tool for the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments.

Init

git clone git://git.savannah.gnu.org/guix.git
cd guix
guix package -i guile libgcrypt make guile-json gnutls sqlite bzip2 gcc gcc-toolchain make autoconf automake gettext texinfo graphviz help2man pkg-config
./bootstrap
./configure --localstatedir=/var
make
make check

Download

guix download http://url-package.tar.gz
Guix will generate a hash for this package. This hash will be added in package.scm.

Edit

emacs gnu/packages/package.scm

Build

./pre-inst-env guix build package

Install

./pre-inst-env guix package -i package

Submit

git add gnu/packages/package.scm
git commit -m 'gnu: Add package
* gnu/packages/package.scm: Add new package.'
git format-patch origin/master
Send your patch by email to guix-devel mailing list and wait for it.

GNU Guix
2000-2016 by Daniel Pimentel under GFDL