summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build-system/haskell: install config for any package that creates it.Eric Bavier2015-06-11
| | | | | | | | | A Cabal package is allowed to declare an "empty" library, in an otherwise executable-only package, for the purpose of allowing Cabal to use it as a dependency for other packages. See e.g. hspec-discover. * guix/build/haskell-build-system.scm (register): Unconditionally call setup script with "register", and install any config file generated.
* profiles: Process ghc conf files only once.Eric Bavier2015-06-11
| | | | | | | | A package may be listed in the manifest inputs multiple times. Avoid copying ghc *.conf files twice by deleting duplicates. * guix/profiles.scm (ghc-package-cache-file)[conf-files]: Delete duplicate manifest inputs before copying conf files.
* profiles: Search for ghc conf files only if package db exists.Eric Bavier2015-06-11
| | | | | | | | This avoids having 'find-files' report warnings about searching in non-existent directories. * guix/profiles.scm (ghc-package-cache-file)[conf-files]: Only search for *.conf files if the search directory exists.
* Revert "gnu: openssl: Update to 1.0.2b."Mark H Weaver2015-06-12
| | | | This reverts commit 4f467e33de0b64b1afd935d14ec6a4839e03bdfc.
* gnu: openssl: Update to 1.0.2b.Mark H Weaver2015-06-12
| | | | * gnu/packages/openssl.scm (openssl): Update to 1.0.2b.
* tests: Avoid sequence of zero expressions.Ludovic Courtès2015-06-11
| | | | | * tests/records.scm ("define-record-type* with let* behavior"): Add missing body for clause.
* records: Remove unnecessary 'begin'.Ludovic Courtès2015-06-11
| | | | * guix/records.scm (define-record-type*): Remove unnecessary 'begin'.
* tests: Write the random seed to the error port.Ludovic Courtès2015-06-11
| | | | | * guix/tests.scm (random-seed): New procedure. (%seed): Use it, and write the random seed to the error port.
* gnu: guix: Update snapshot.Ludovic Courtès2015-06-11
| | | | | | * gnu/packages/package-management.scm (guix-devel): Update to a43b55f. [source]: Add 'file-name' field. [native-inputs]: Add HELP2MAN.
* packages: Make 'location' field innate.Ludovic Courtès2015-06-11
| | | | | | | | | | | | | * guix/packages.scm (<package>)[location]: Add 'innate' property. * guix/build-system/gnu.scm (static-package): Remove 'loc' parameter and 'location' field. * gnu/packages/autotools.scm (autoconf-wrapper): Remove 'location' field. * gnu/packages/commencement.scm (gnu-make-boot0, diffutils-boot0, gcc-final): Likewise. * gnu/packages/cross-base.scm (cross): Likewise. * gnu/packages/emacs.scm (emacs-no-x, emacs-no-x-toolkit): Likewise. * gnu/packages/make-bootstrap.scm (tarball-package): Likewise. * gnu/packages/maths.scm (petsc-complex): Likewise.
* records: Add support for 'innate' fields.Ludovic Courtès2015-06-11
| | | | | | | | | | * guix/records.scm (make-syntactic-constructor): Add #:innate parameter. [record-inheritance]: Honor it. [innate-field?]: New procedure. (define-record-type*)[innate-field?]: New procedure. Pass #:innate to 'make-syntactic-constructor'. * tests/records.scm ("define-record-type* & inherit & innate", "define-record-type* & thunked & innate"): New tests.
* records: "options" → "properties".Ludovic Courtès2015-06-11
| | | | * guix/records.scm (define-record-type*): Change "options" to "properties".
* records: Factorize field property predicates.Ludovic Courtès2015-06-11
| | | | | * guix/records.scm (define-field-property-predicate): New macro. (define-record-type*)[thunked-field?, delayed-field?]: Use it.
* records: Separate default-value handling.Ludovic Courtès2015-06-11
| | | | | | | * guix/records.scm (make-syntactic-constructor)[default-values]: New variable. [field-default-value]: New procedure. Use them.
* records: Replace 'eval-when' with a proper 'define-syntax'.Ludovic Courtès2015-06-11
| | | | | * guix/records.scm (make-syntactic-constructor): Remove enclosing 'eval-when'. Turn into a 'syntax-rules' macro.
* gnu: gnupg: Update to 2.1.5.Mark H Weaver2015-06-11
| | | | * gnu/packages/gnupg.scm (gnupg): Update to 2.1.5.
* gnu: Add librest.宋文武2015-06-11
| | | | * gnu/packages/gnome.scm (librest): New variable.
* gnu: inetutils: Update to 1.9.4.Mark H Weaver2015-06-11
| | | | * gnu/packages/admin.scm (inetutils): Update to 1.9.4.
* guix build: Allow directories to be passed to --with-source.Ludovic Courtès2015-06-11
| | | | | | | | | | * guix/scripts/build.scm (package-with-source)[tarball-base-name]: Gracefully handle file names that lack an extension. Pass #:recursive? #t to 'download-to-store'. * guix/download.scm (download-to-store): Add #:recursive? parameter and pass it to 'add-to-store'. * doc/guix.texi (Invoking guix build): Add an example of --with-source with a directory.
* environment: Connect to the store after the command line has been parsed.Ludovic Courtès2015-06-11
| | | | | | * guix/scripts/environment.scm (guix-environment): Call 'parse-command-line' outside of 'with-store'. This allows things like --help to run even if the daemon is not running.
* build: Build man pages after the corresponding code.Ludovic Courtès2015-06-10
| | | | | | | * doc.am (doc/guix.1): Remove extraneous $(top_builddir)/. (doc/guix-daemon.1): Fix dependency. (doc/guix-$(1).1): Remove extraneous $(top_builddir)/. Depend on the .go files instead of the .scm file. Add dependency on scripts/guix.
* daemon: Internationalize guix-daemon.Ludovic Courtès2015-06-10
| | | | | | | | | | | | | | | * nix/nix-daemon/guix-daemon.cc (n_, _): New macros. (guix_textdomain): New variable. (doc): Use 'n_'. (options): Likewise, and lowercase messages. (argp): Add initializer for 'argp_domain' field. (parse_opt): Use '_' for messages. (main): Likewise, and add calls to 'setlocale', 'bindtextdomain', and 'textdomain'. * daemon.am (guix_daemon_CPPFLAGS): Add -DLOCALEDIR. * po/guix/Makevars (XGETTEXT_OPTIONS): Remove '--language' option. Add '--keyword=n_'. * po/guix/POTFILES.in: Add guix-daemon.cc.
* gnu: qemu: Add fix for CVE-2015-3209.Mark H Weaver2015-06-10
| | | | | | * gnu/packages/patches/qemu-CVE-2015-3209.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/qemu.scm (qemu): Add patch.
* gnu: cups: Update to 2.0.3.Mark H Weaver2015-06-10
| | | | * gnu/packages/cups.scm (cups): Update to 2.0.3.
* gnu: linux-libre: Update to 4.0.5.Mark H Weaver2015-06-10
| | | | * gnu/packages/linux.scm (linux-libre): Update to 4.0.5.
* guix-register: Use C++11 range 'for' loop instead of 'foreach' macro.Ludovic Courtès2015-06-10
| | | | | * nix/guix-register/guix-register.cc (register_validity): Use C++11 range 'for' loop instead of 'foreach'.
* guix-register: Perform deduplication even when --prefix is passed.Ludovic Courtès2015-06-10
| | | | | | | | | | Fixes <http://bugs.gnu.org/19044>. * nix/guix-register/guix-register.cc (register_validity): Change the (optimize && prefix.empty ()) condition to just (optimize). Change settings.nixStore around the loop. Prepend PREFIX to the argument passed to 'optimisePath'. * tests/guix-register.sh: Use 'guix-register -p' with duplicate files, and make sure they are deduplicated on the target. Adjust existing tests.
* tests: Make the daemon socket explicit in guix-register test.Ludovic Courtès2015-06-10
| | | | | * tests/guix-register.sh: Define GUIX_DAEMON_SOCKET. Pass it explicitly to 'open-connection'.
* guix system: init: Overwrite the items in the target store.Ludovic Courtès2015-06-10
| | | | | | | | Fixes <http://bugs.gnu.org/20722>. Reported by Eric Bavier <ericbavier@openmailbox.org>. * guix/scripts/system.scm (copy-item): Check whether DEST exists and remove it if it does.
* install: Really overwrite TARGET/var/guix/profiles/system-1-link.Ludovic Courtès2015-06-10
| | | | | | * gnu/build/install.scm (populate-root-file-system): Delete system-1-link under TARGET, not under /. Use 'catch' and check for EEXIST instead of (false-if-exception (delete-file ...)).
* ui: Replace the global 'symlink' binding.Ludovic Courtès2015-06-10
| | | | * guix/ui.scm (symlink): Set! the global symlink.
* doc: Add 'help2man' to HACKING.Alex Kost2015-06-10
| | | | * HACKING: Mention 'help2man'.
* gnu: mysql: Update to 5.6.25.宋文武2015-06-09
| | | | | | | | * gnu/packages/databases.scm (mysql): Update to 5.6.25. [source]: Use 'version-major+minor'. [build-system]: Change to cmake-build-system. Adjust arguments accordingly. [inputs]: Add libaio. Remove procps. Move perl to 'native-inputs'.
* import: hackage: Refactor parsing code and add new options.Federico Beffa2015-06-09
| | | | | | | | | | | | * guix/import/cabal.scm: New file. * guix/import/hackage.scm: Update to use the new Cabal parsing module. * tests/hackage.scm: Update tests. * guix/scripts/import/hackage.scm: Add new '--cabal-environment' and '--stdin' options. * doc/guix.texi: ... and document them. * Makefile.am (MODULES): Add 'guix/import/cabal.scm', 'guix/import/hackage.scm' and 'guix/scripts/import/hackage.scm'. (SCM_TESTS): Add 'tests/hackage.scm'.
* gnu: Add proof-general.Mark H Weaver2015-06-08
| | | | * gnu/packages/ocaml.scm (proof-general): New variable.
* doc: Suggest unpacking the binary tarball in /tmp.Ludovic Courtès2015-06-08
| | | | | | Suggested by Thomas Schwinge <thomas@codesourcery.com> and others. * doc/guix.texi (Binary Installation): Suggest unpacking in /tmp rather than /.
* install: Omit /root from the binary tarball.Ludovic Courtès2015-06-08
| | | | | | | | | Suggested by Thomas Schwinge <thomas@codesourcery.com>. * gnu/system/install.scm (self-contained-tarball): Remove "/root/.guix-profile" from the 'tar' arguments. * doc/guix.texi (Binary Installation): Add a step to create ~root/.guix-profile.
* monads: Allow n-ary '>>=' expressions.Ludovic Courtès2015-06-08
| | | | | | | | | | Suggested by Federico Beffa <beffa@fbengineering.ch>. * guix/monads.scm (bind-syntax): New macro. (with-monad): Use it instead of 'identifier-syntax'. * tests/monads.scm (">>= with more than two arguments"): New test. * doc/guix.texi (The Store Monad): Explain that there can be several MPROC. Add an example.
* gnu: youtube-dl: Update to 2015.06.04.1.Mark H Weaver2015-06-08
| | | | * gnu/packages/video.scm (youtube-dl): Update to 2015.06.04.1.
* gnu: evince: Update to 3.16.1, add more inputs.宋文武2015-06-08
| | | | | | | * gnu/packages/gnome.scm (evince): Update to 3.16.1. [inputs]: Add djvulibre, libtiff, gnome-desktop and libsecret. Co-authored-by: David Hashe <david.hashe@dhashe.com>
* gnu: geoclue: Update to 2.2.0.宋文武2015-06-08
| | | | * gnu/packages/gnome.scm (geoclue): Update to 2.2.0.
* doc emacs: Improve documentation on initial setup.Alex Kost2015-06-08
| | | | | | | | Reported by ngz on #guix. * doc/emacs.texi (Emacs Initial Setup): Describe how to configure "guix.el" in the case of binary installation and when Guix is not installed.
* emacs: Add shell completions for "guix" command.Alex Kost2015-06-08
| | | | | | | | Suggested by Ludovic Courtès <ludo@gnu.org>. * emacs/guix-pcomplete.el: New file. * emacs.am (ELFILES): Add it. * doc/emacs.texi (Emacs Completions): New node.
* emacs: Add "memoization" code.Alex Kost2015-06-08
| | | | | * emacs/guix-utils.el (guix-memoize): New function. (guix-memoized-defun): New macro.
* guix: Clean up --help messages.Alex Kost2015-06-08
| | | | | | | | | | * guix/scripts/import.scm (show-help): Add newline before a list of importers. * guix/scripts/lint.scm (show-help): Split a long description line. * guix/scripts/package.scm (show-help): Improve docstrings for --install and --remove options. * guix/scripts/system.scm (show-help): Format actions the same way as guix commands and importers are formatted.
* gnu: python-numpy: Build against OpenBLAS.Ricardo Wurmus2015-06-07
| | | | | | | | | * gnu/packages/python.scm (python-numpy)[inputs]: Use "openblas" instead of "atlas". * gnu/packages/python.scm (python-numpy)[arguments]: Configure build against OpenBLAS. Modified-By: Mark H Weaver <mhw@netris.org>
* Thank Thomas.Ludovic Courtès2015-06-07
|
* doc: Explain where the number of build users comes from.Ludovic Courtès2015-06-07
| | | | | | | Suggested by Thomas Schwinge <thomas@codesourcery.com>. * doc/guix.texi (Build Environment Setup): Explain where the number of build users comes from.
* guix gc: Add '--verify'.Ludovic Courtès2015-06-06
| | | | | | | * guix/scripts/gc.scm (show-help, %options): Add --verify. (guix-gc): Handle it. * doc/guix.texi (Invoking guix gc): Document --verify, and move --optimize description right below it.
* store: Add 'verify-store' RPC.Ludovic Courtès2015-06-06
| | | | | | | | * guix/store.scm (operation-id): Add 'verify-store'. (verify-store): New procedure. (set-build-options): Adjust comment. * tests/store.scm ("verify-store", "verify-store + check-contents"): New tests.