Commit graph

9547 commits

Author SHA1 Message Date
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
Ludovic Courtès
2cc10077f3 guix package: Move a couple of procedures out of sight.
* guix/scripts/package.scm (ensure-default-profile, process-query): New
procedures, moved from...
(guix-package): ... here.
2015-12-01 00:02:54 +02:00
Ludovic Courtès
0993f94267 guix package: Remove unnecessary use of (%store).
* guix/scripts/package.scm (delete-matching-generations): Use STORE
instead of (%store).
2015-12-01 00:02:54 +02:00
Efraim Flashner
ccd20fcb7d gnu: python-pbr: Update to 1.8.1.
* gnu/packages/openstack.scm (python-pbr): Update to 1.8.1.
2015-11-30 23:20:35 +02:00
Efraim Flashner
5466700fa2 gnu: parallel: Update to 20151122.
* gnu/packages/parallel.scm (parallel): Update to 20151122.
2015-11-30 23:11:35 +02:00
Efraim Flashner
44e30a7647 gnu: python2-keyring: Use python2-pycrypto.
* gnu/packages/python.scm (python2-keyring)[inputs]: Force building
with python2-pycrypto.
2015-11-30 20:09:12 +02:00
Efraim Flashner
1c0059da41 gnu: python2-pycrypto: Use python2.
* gnu/packages/python.scm (python2-pycrypto)[inputs]: Force building
with python2.
2015-11-30 19:06:13 +02:00
Ricardo Wurmus
36f26211bb gnu: openssh: Install ssh-copy-id.
* gnu/packages/ssh.scm (openssh)[arguments]: Install "ssh-copy-id" and
  documentation.

Fixes <http://bugs.gnu.org/22024>.
Reported by Florian Paul Schmidt <mista.tapas@gmx.net>.
2015-11-30 14:58:44 +01:00
Ricardo Wurmus
a9ee11d5ab gnu: openssh: Use modify-phases syntax.
* gnu/packages/ssh.scm (openssh)[arguments]: Use modify-phases syntax.
2015-11-30 14:58:43 +01:00
Ricardo Wurmus
70b002aa1d gnu: Add ruby-tins.
* gnu/packages/ruby.scm (ruby-tins): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
d3b20a02c8 gnu: Add ruby-sdoc.
* gnu/packages/ruby.scm (ruby-sdoc): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
a75bdfcec3 gnu: Add ruby-pry-editline.
* gnu/packages/ruby.scm (ruby-pry-editline): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
2f9e0b68e1 gnu: Add ruby-ci-reporter.
* gnu/packages/ruby.scm (ruby-ci-reporter): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
fe1ddad54a gnu: Add ruby-atoulme-saikuro.
* gnu/packages/ruby.scm (ruby-atoulme-saikuro): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
a84fa2ad42 gnu: Add ruby-simplecov.
* gnu/packages/ruby.scm (ruby-simplecov): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
b0cf606f75 gnu: Add sparsehash.
* gnu/packages/crypto.scm (sparsehash): New variable.
2015-11-30 14:41:48 +01:00
Ricardo Wurmus
0149354d21 gnu: Add cereal.
* gnu/packages/serialization.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-11-30 14:41:48 +01:00
Efraim Flashner
dbd3a91f54 gnu: xorriso: Update to 1.4.2.
* gnu/packages/cdrom.scm (xorriso): Update to 1.4.2.
2015-11-30 10:41:19 +02:00
Ludovic Courtès
02f0c3b28e gnu: python: Move tkinter to "tk" output.
* gnu/packages/python.scm (python-2)[outputs]: New field.
[arguments]: Add 'move-tk-inter' phase.
(python2-minimal, python-minimal, wrap-python3)[outputs]: New field.
2015-11-29 22:59:28 +01:00