Commit Graph

9665 Commits

Author SHA1 Message Date
Ludovic Courtès 07e70f4846 store: Add mode parameter to 'build-paths'.
* guix/store.scm (%protocol-version): Set minor to 15.
(build-mode): New enumerate type.
(build-things): Add 'mode' parameter; pass it to the RPC.
* tests/store.scm ("build-things, check mode"): New check.
2015-12-03 19:09:53 +02:00
Ludovic Courtès d203d3d4cb store: Update to the new daemon protocol.
* guix/store.scm (%protocol-version): Set minor to 14.
(open-connection): Add 'cpu-affinity' parameter and honor it.
2015-12-03 19:09:53 +02:00
Ludovic Courtès df7393b93c gnu: Add findnewest.
* gnu/packages/version-control.scm (findnewest): New variable.
2015-12-03 19:09:53 +02:00
Federico Beffa dab8ebd925 gnu: python2-seaborn: Use custom 'python2-' packages.
* gnu/packages/python.scm (python2-seaborn): Use customized 'python2-'
  versions of 'matplotlib', 'pandas' and 'scipy'.
2015-12-03 12:49:32 +01:00
Efraim Flashner d1e08856e0 gnu: openssh: Update to 7.1p1.
* gnu/packages/ssh.scm (openssh): Update to 7.1p1.
2015-12-03 13:14:11 +02:00
Alex Kost c181b870f1 gnu: paredit: Update to 24.
* gnu/packages/emacs.scm (paredit): Update to 24.
2015-12-03 13:39:26 +03:00
Alex Kost 509a0c2700 gnu: magit: Update to 2.3.1.
* gnu/packages/emacs.scm (magit): Update to 2.3.1.
2015-12-03 13:39:26 +03:00
Alex Kost fae2a30f13 gnu: emacs-dash: Update to 2.12.1.
* gnu/packages/emacs.scm (emacs-dash): Update to 2.12.1.
2015-12-03 13:39:26 +03:00
Alex Kost eccd0b57a1 gnu: emacs-pdf-tools: Update to 0.70.
* gnu/packages/emacs.scm (emacs-pdf-tools): Update to 0.70.
2015-12-03 13:39:26 +03:00
Efraim Flashner dfbddf81be gnu: libass: Update to 0.13.1.
* gnu/packages/video.scm (libass): Update to 0.13.1.
2015-12-03 11:37:28 +02:00
Efraim Flashner 877a6466a6 gnu: xmlto: Update to 0.0.28.
* gnu/packages/xml.scm (xmlto): Update to 0.0.28.
2015-12-03 11:37:28 +02:00
Efraim Flashner f673552c13 gnu: vapoursynth: Update to 28.
* gnu/packages/video.scm (vapoursynth): Update to 28.
2015-12-03 11:37:28 +02:00
Federico Beffa d9bc0bf8fa gnu: python2-scikit-image: Use custom 'python2-' packages.
* gnu/packages/python.scm (python2-scikit-image): Use customized 'python2-'
  versions of 'matplotlib', 'numpy' and 'scipy'.
2015-12-03 09:22:30 +01:00
Federico Beffa 3cbe7d5e52 gnu: python2-pandas: Use custom 'python2-numpy'.
* gnu/packages/python.scm (python2-pandas): Do it.
2015-12-03 09:22:30 +01:00
Federico Beffa 5587253a87 gnu: python2-ipython: Use custom 'python2-numpy'.
* gnu/packages/python.scm (python2-ipython): Do it.
2015-12-03 09:22:30 +01:00
Mark H Weaver 084e41c1ac gnu: ffmpeg: Update to 2.8.3 [fixes CVE-2015-{8216,8217,8218,8219}].
* gnu/packages/video.scm (ffmpeg): Update to 2.8.3.
2015-12-02 22:39:12 -05:00
Efraim Flashner 7e006b6899 gnu: freeipmpi: Update to 1.5.1.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.1.
2015-12-02 20:32:30 +02:00
Ludovic Courtès 708d907000 daemon: Add 'buildMode' parameter to 'buildPaths' RPC.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f.
* nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the
BUILDMODE when the daemon supports it.  Reject invalid values of
BUILDMODE for old daemons.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopBuildPaths>: Read the
build mode when the client supports it.
2015-12-02 19:37:59 +02:00
Eelco Dolstra e134baae77 daemon: optimizePath: Detect some .links corruptions.
If automatic store optimisation is enabled, and a hard-linked file in
the store gets corrupted, then the corresponding .links entry will
also be corrupted. In that case, trying to repair with --repair or
--repair-path won't work, because the new "good" file will be replaced
by a hard link to the corrupted file. We can catch most of these cases
by doing a sanity-check on the file sizes.
2015-12-02 19:37:59 +02:00
Eelco Dolstra 14fb686a21 daemon: Fix namespace issue. 2015-12-02 19:37:59 +02:00
Eelco Dolstra 29d3242e5c daemon: Support SHA-512 hashes.
Fixes #679.

Note: on x86_64, SHA-512 is considerably faster than SHA-256 (198 MB/s
versus 131 MB/s).

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-12-02 19:37:59 +02:00
Eelco Dolstra 79aa1a8305 daemon: int2String -> std::to_string. 2015-12-02 19:37:59 +02:00
Eelco Dolstra 60c7c364f8 daemon: Filter build-chroot-dirs entries that conflict with derivation outputs.
Fixes https://github.com/NixOS/nixpkgs/issues/9504.

Note that this means we may have a non-functional /bin/sh in the
chroot while rebuilding Bash or one of its dependencies. Ideally those
packages don't rely on /bin/sh though.
2015-12-02 19:37:59 +02:00
Eelco Dolstra 538684d0c4 daemon: Prevent .chroot from being GC'ed when using LocalStore::buildDerivation()
Fixes #616.
2015-12-02 19:37:59 +02:00
Federico Beffa 18b3151613 gnu: python-matplotlib: Adjust path to figures in 'info' file.
* gnu/packages/python.scm (python-matplotlib): Do it.
2015-12-02 18:21:14 +01:00
Federico Beffa 5d26e542ee gnu: python-ipython: Don't use the bootstrap version of 'python-numpy'.
* gnu/packages/python.scm (python-ipython): Do it.
2015-12-02 18:21:13 +01:00
Federico Beffa 1bbc659fd2 gnu: python-matplotlib: Add 'TkAgg' backend and update to version '1.4.3'.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Do it.
* gnu/packages/patches/matplotlib-setupext-tk.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new patch.
2015-12-02 18:21:13 +01:00
Efraim Flashner 214ed6a39b gnu: opus: Update to 1.1.1.
* gnu/packages/xiph.scm (opus): Update to 1.1.1.
2015-12-02 13:31:06 +02:00
Efraim Flashner 59eef6f284 gnu: libbluray: Update to 0.9.2.
* gnu/packages/video.scm (libbluray): Update to 0.9.2.
2015-12-02 13:27:53 +02:00
Ludovic Courtès 85dce718cb import: pypi: Updater silently ignores packages without source.
Reported by Andreas Enge <andreas@enge.fr>
at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00764.html>.

* guix/import/pypi.scm (&missing-source-error): New error type.
(latest-source-release): Raise it instead of using 'error'.
(pypi->guix-package): Guard against it and use 'leave' to report the
error.
(latest-release): Guard against it and return #f when caught.
2015-12-01 23:18:48 +01:00
Efraim Flashner b6ab89efb2 gnu: python-six: Update to 1.10.0.
* gnu/packages/python.scm (python-six): Update to 1.10.0.
[source]: Change uri to pypi format.
2015-12-01 21:10:55 +02:00
Efraim Flashner b850a6d82d gnu: python-babel: Update to 2.1.1.
* gnu/packages/python.scm (python-babel): Update to 2.1.1.
[source]: Change uri to pypi format.
2015-12-01 20:55:06 +02:00
Efraim Flashner 94ce6b4959 gnu: python-oslo.utils: Update to 3.0.0.
* gnu/packages/openstack.scm (python-oslo.utils): Update to 3.0.0.
[source]: Change uri to pypi format.
2015-12-01 19:52:08 +02:00
Efraim Flashner 278c0efd0a gnu: python-oslo.serialization: Update to 2.0.0.
* gnu/packages/openstack.scm (python-oslo.serialization): Update to 2.0.0.
[source]: Change uri to pypi format.
2015-12-01 19:13:25 +02:00
Efraim Flashner 5788b4b6d1 gnu: python-oslo.i18n: Update to 3.0.0.
* gnu/packages/openstack.scm (python-oslo.i18n): Update to 3.0.0.
[source]: Change uri to pypi format.
2015-12-01 18:14:56 +02:00
Efraim Flashner e9af5adfd5 gnu: python-oslo.context: Update to 1.0.0.
* gnu/packages/openstack.scm (python-oslo.context): Update to 1.0.0.
[source]: Change uri to pypi format.
2015-12-01 17:33:29 +02:00
Efraim Flashner 3bc810a89b gnu: python-tempest-lib: Update to 0.11.0.
* gnu/packages/openstack.scm (python-tempest-lib): Update to 0.11.0.
2015-12-01 16:19:58 +02:00
Efraim Flashner 2d531d4efd gnu: python-stevedore: Update to 1.9.0.
* gnu/packages/openstack.scm (python-stevedore): Update to 1.9.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:58 +02:00
Efraim Flashner bd52842d3d gnu: python-requests-mock: Update to 0.7.0.
* gnu/packages/openstack.scm (python-requests-mock): Update to 0.7.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:58 +02:00
Efraim Flashner a5ff52f8a6 gnu: python-os-client-config: Update to 1.12.0.
* gnu/packages/openstack.scm (python-os-client-config): Update to 1.12.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:53 +02:00
Efraim Flashner 56c7ead2f8 gnu: python-debtcollector: Update to 1.0.0.
* gnu/packages/openstack.scm (python-debtcollector): Update to 1.0.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:22 +02:00
Efraim Flashner d4e817b1db gnu: python-mox3: Update to 0.12.0.
* gnu/packages/openstack.scm (python-mox3): Update to 0.12.0.
[source]: Change uri to pypi format.
2015-12-01 16:19:16 +02:00
Efraim Flashner df372f96a3 gnu: enlightenment: Update to 0.20.0.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.0.
[arguments]: Add '--enable-mount-eeze' to configure-flags.
2015-12-01 10:26:06 +02:00
Ludovic Courtès 64ec0e2912 guix build: Modularize transformation handling.
* guix/scripts/build.scm (options/resolve-packages): Remove.
(options->things-to-build, transform-package-source): New procedure.
(%transformations): New variable.
(options->transformation): New procedure.
(options->derivations): Rewrite to use 'options->things-to-build' and
'options->transformation'.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 27b91d7851 guix package: Refactor 'options->installable'.
* guix/scripts/package.scm (options->upgrade-predicate)
(store-item->manifest-entry): New procedures.
* guix/scripts/package.scm (options->installable): Use them.  Remove the
'packages-to-upgrade' and 'packages-to-install' variables by getting rid
of a level of indirection.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 6e37017506 guix package: Move 'process-actions' out of sight.
* guix/scripts/package.scm (process-actions): New procedure, moved
from...
(guix-package): ... here.  Adjust accordingly.
2015-12-01 00:02:54 +02:00
Ludovic Courtès dfdb15d9c2 build: Fix detection of ARM systems.
Reported by Andreas Enge <andreas@enge.fr>.
This fixes a regression introduced in 968ae903.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add extra square braquets around
armv[7-9] pattern.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 590558953b guix package: Formalize the list of actions.
* guix/scripts/package.scm (roll-back-action, switch-generation-action)
(delete-generations-action, manifest-action): New procedures.
(%actions): New variable.
* guix/scripts/package.scm (guix-package)[process-action]: Rewrite to
traverse %ACTIONS.
2015-12-01 00:02:54 +02:00
Ludovic Courtès 50dc193e27 nls: Update 'de' translation. 2015-12-01 00:02:54 +02:00
Ludovic Courtès d1ac5c0775 guix package: Move 'build-and-use-profile' out of sight.
* guix/scripts/package.scm (build-and-use-profile): New procedure.
Adapted and moved from...
(guix-package)[process-actions]: ... here.  Adjust call sites.
2015-12-01 00:02:54 +02:00