- [[http://gnu.org/software/guile/][GNU Guile 2.0.x]], version 2.0.5 or later
- [[http://gnupg.org/][GNU libgcrypt]]
+ - optionally [[http://savannah.nongnu.org/projects/guile-json/][Guile-JSON]], for the 'guix import pypi' command
+ - optionally [[http://www.gnutls.org][GnuTLS]] compiled with guile support enabled, for HTTPS support
+ in the 'guix download' command. Note that 'guix import pypi' requires
+ this functionality.
Unless `--disable-daemon' was passed, the following packages are needed:
To do so:
- Install the dependencies (see 'Requirements' above) and build tools using
- Guix. You should have the following packages installed in your user
- profile:
-
- - autoconf
- - automake
- - bzip2
- - gcc
- - gettext
- - glibc
- - guile
- - ld-wrapper
- - libgcrypt
- - pkg-config
- - sqlite
-
- - set the environment variables that Guix recommends you to set during the
+ Guix:
+
+ guix package --install autoconf automake bzip2 gcc-toolchain gettext \
+ guile libgcrypt pkg-config sqlite
+
+ - Set the environment variables that Guix recommends you to set during the
package installation process:
- ACLOCAL, CPATH, LIBRARY_PATH, PATH, PKG_CONFIG_PATH
- In addition, set
- GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yes
+ ACLOCAL_PATH, CPATH, LIBRARY_PATH, PKG_CONFIG_PATH
+
+ - Set the PATH environment variable to refer to the profile:
+ PATH=$HOME/.guix-profile/bin:$PATH
- - re-run the configure script passing it the option
- `--with-libgcrypt-prefix=$HOME/.guix-profile/'
+ - Re-run the 'configure' script passing it the option
+ '--with-libgcrypt-prefix=$HOME/.guix-profile/', as well as
+ '--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir'
+ value of the currently installed Guix (failing to do that would lead the
+ new Guix to consider the store to be empty!).
- - run "make" and "make install"
+ - Run "make", "make check", and "make install".
* How It Works
Guix does the high-level preparation of a /derivation/. A derivation is
the promise of a build; it is stored as a text file under
-=/nix/store/xxx.drv=. The (guix derivations) module provides the
+=/gnu/store/xxx.drv=. The (guix derivations) module provides the
`derivation' primitive, as well as higher-level wrappers such as
`build-expression->derivation'.