README 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. This directory contains Guix package definitions that can be used to
  2. override the ones found in Guix's GNU distribution.
  3. Guix packagers are encouraged to adopt and adjust these definitions.
  4. GNUnet developers can use this for easily setting up a development or
  5. test environment using Guix.
  6. When using the package definition for building a package this will
  7. pick up the current development code. The version of the resulting
  8. package is the output of 'git describe --tags'.
  9. To make guix pick up the package definition contained here you need to
  10. either pass an extra parameter to guix or or set an environment
  11. variable:
  12. guix ... --load-path=<gnunet.git>/contrib/guix ...
  13. export GUIX_PACKAGE_PATH=<gnunet.git>/contrib/guix
  14. NOTE: Due to a bug in guix 0.16, using --load-path currently does not
  15. work as expected. Please set the environment variable. See
  16. <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34679> for
  17. details.
  18. To spawn a (development) environment with GNUnet's dependencies
  19. installed, run:
  20. guix environment --load-path=<gnunet.git>/contrib/guix guix
  21. To spawn a (test) environment with GNUnet available in this
  22. environment, run:
  23. guix environment --load-path=<gnunet.git>/contrib/guix --ad-hoc guix
  24. It is recommented to also pass the '--pure' option to guix, to make
  25. sure the environment is not polluted with existing packages.