Ludovic Courtès
343dc11702
guix hash: Interpret '-' as standard input.
...
* guix/scripts/hash.scm (guix-hash)[file-hash]: Special-case "-".
* tests/guix-hash.sh: Add test.
* doc/guix.texi (Invoking guix hash): Document it.
2016-10-28 22:30:17 +02:00
Ludovic Courtès
12b6c951cf
daemon: Do not error out when deduplication fails due to ENOSPC.
...
This solves a problem whereby if /gnu/store/.links had enough entries,
ext4's directory index would be full, leading to link(2) returning
ENOSPC.
* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Upon
ENOSPC from link(2), print a message and return instead of throwing a
'SysError'.
2016-10-28 22:30:17 +02:00
Eelco Dolstra
b1fd0ab734
daemon: Improve the SQLite wrapper API.
...
In particular, this eliminates a bunch of boilerplate code.
Also integrates these Nix commits:
80da7a6 Probably fix SQLITE_BUSY errors
37a337b throwSQLiteError(): Check for SIGINT so we don't loop forever
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-28 22:30:17 +02:00
Eelco Dolstra
7bed5d91de
daemon: Factor out SQLite handling.
...
* nix/libstore/local-store.cc: Move SQLite code to...
* nix/libstore/sqlite.cc, nix/libstore/sqlite.hh: ... here. New files.
* nix/local.mk (libstore_a_SOURCES): Add sqlite.cc.
(libstore_headers): Add sqlite.hh.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-28 22:30:17 +02:00
Eelco Dolstra
517ce0c15b
daemon: Turn retrying SQLite transactions into a higher-order function.
...
* nix/libstore/local-store.cc (retry_sqlite, end_retry_sqlite): Remove.
(retrySQLite): New template.
(LocalStore::registerFailedPath, LocalStore::hasPathFailed)
(LocalStore::queryFailedPaths, LocalStore::clearFailedPaths)
(LocalStore::queryPathInfo, LocalStore::isValidPath_)
(LocalStore::queryValidPaths, LocalStore::queryAllValidPaths)
(LocalStore::queryReferrers, LocalStore::queryValidDerivers)
(LocalStore::queryDerivationOutputs)
(LocalStore::queryDerivationOutputNames)
(LocalStore::queryPathFromHashPart, LocalStore::registerValidPaths)
(LocalStore::invalidatePathChecked): Use it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-10-28 22:30:17 +02:00
Marius Bakke
a9afb956b3
gnu: vim: Update to 8.0.0051.
...
* gnu/packages/vim.scm (vim): Update to 8.0.0051.
[source]: Change to github release archive.
2016-10-28 20:55:09 +01:00
Leo Famulari
0df955401f
Merge branch 'master' into core-updates
2016-10-28 13:59:32 -04:00
Leo Famulari
044ac8d294
gnu: python-twobitreader: Update to 3.1.4.
...
* gnu/packages/bioinformatics.scm (python-twobitreader, python2-twobitreader):
Update to 3.1.4.
2016-10-28 13:59:11 -04:00
Leo Famulari
900fb8d005
gnu: python-twobitreader: Disable the test suite.
...
The tests were silently skipped with Python 3.4. With Python 3.5, this caused
the build of python-twobitreader to fail.
* gnu/packages/bioinformatics.scm (python-twobitreader,
python2-twobitreader)[arguments]: Disable the tests.
2016-10-28 13:59:11 -04:00
Roel Janssen
ed8bc028f7
gnu: Add emacs-org-trello.
...
* gnu/packages/emacs.scm (emacs-org-trello): New variable.
2016-10-28 19:50:32 +02:00
Leo Famulari
a6447e7fb6
Merge branch 'master' into core-updates
2016-10-28 13:40:17 -04:00
Leo Famulari
e359b31a60
gnu: python-wsgiproxy2: Disable the test suite.
...
* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2)[arguments]:
Disable the tests.
2016-10-28 13:39:38 -04:00
Leo Famulari
67fd4a12cb
gnu: python-beautifulsoup4: Update to 4.5.1.
...
* gnu/packages/python.scm (python-beautifulsoup4, python2-beautifulsoup4):
Update to 4.5.1.
2016-10-28 13:39:38 -04:00
Leo Famulari
5f37f0b66e
gnu: python-beautifulsoup4: Run the test suite.
...
* gnu/packages/python.scm (python-beautifulsoup4)[arguments]: Add field
run python-2 -> python-3 conversion script and test suite.
(python2-beautifulsoup4)[arguments]: Specify use of python-2.
2016-10-28 13:39:37 -04:00
Leo Famulari
92c3ef2cf3
gnu: python-feedparser: Disable the test suite.
...
The tests were silently skipped with Python 3.4. With Python 3.5, this caused
the build of python-feedparser to fail.
* gnu/packages/python.scm (python-feedparser, python2-feedparser)[arguments]:
Disable the tests.
2016-10-28 13:39:37 -04:00
Leo Famulari
95bff4f697
gnu: libwebp: Fix CVE-2016-9085.
...
* gnu/packages/patches/libwebp-CVE-2016-9085.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libwebp)[source]: Use it.
2016-10-28 13:39:37 -04:00
Leo Famulari
b2ed5ca7aa
gnu: libwebp: Update to 0.5.1.
...
* gnu/packages/image.scm (libwebp): Update to 0.5.1.
2016-10-28 13:39:33 -04:00
Roel Janssen
36e5d10387
gnu: Add emacs-request.
...
* gnu/packages/emacs.scm (emacs-request): New variable.
2016-10-28 19:29:35 +02:00
Thomas Danckaert
fc381a3325
gnu: Add qwt.
...
* gnu/packages/qt.scm (qwt): New variable.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-10-28 14:47:36 +01:00
宋文武
aa98b3b273
gnu: gxmessage: Don't install 'icon-theme.cache'.
...
* gnu/packages/gxmessage.scm (gxmessage)[arguments]: Add
'skip-gtk-update-icon-cache' phase.
[native-inputs]: Remove gtk+:bin.
2016-10-28 21:04:11 +08:00
Mark H Weaver
3b6f8b579b
gnu: python-parse: Fix patch file name in gnu/local.mk.
...
This is a followup to commit aa6c09ed71
.
* gnu/local.mk (dist_patch_DATA):
"python-python-parse-too-many-fields.patch" =>
"python-parse-too-many-fields.patch".
2016-10-27 20:31:19 -04:00
Mark H Weaver
3d82676919
Merge branch 'master' into core-updates
2016-10-27 20:21:26 -04:00
Efraim Flashner
f9a65318dd
gnu: python-parse: Use 'modify-phases' syntax.
...
* gnu/packages/python.scm (python-parse)[arguments]: Use 'modify-phases'
syntax.
2016-10-27 23:29:56 +03:00
Efraim Flashner
aa6c09ed71
gnu: python-parse: Fix failing test.
...
* gnu/packages/python.scm (python-parse)[origin]: Add patch.
* gnu/packages/patches/python-parse-too-many-fields.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2016-10-27 23:28:07 +03:00
Efraim Flashner
d18c69aa2a
gnu: python-pytest-django: Add missing test input.
...
* gnu/packages/django.scm (python-pytest-django)[native-inputs]: Add
python-django.
2016-10-27 22:27:31 +03:00
Efraim Flashner
fa7cd33378
gnu: python-django-filter: Add inputs for tests.
...
* gnu/packages/django.scm (python-django-filter)[native-inputs]: Add
python-django, python-mock.
2016-10-27 22:18:30 +03:00
Efraim Flashner
13c4d8746b
gnu: python-wtforms: Skip optional tests.
...
* gnu/packages/python.scm (python-wtforms)[arguments]: Add a phase
preventing tests from failing when optional tests aren't run.
2016-10-27 22:13:22 +03:00
Efraim Flashner
b6e0804953
gnu: lightning: Add missing input.
...
* gnu/packages/assembly.scm (lightning)[native-inputs]: Add zlib.
2016-10-27 21:13:05 +03:00
Roel Janssen
7500e42b3e
gnu: Add r-mutationalpatterns.
...
* gnu/packages/bioinformatics.scm (r-mutationalpatterns): New variable.
2016-10-27 20:07:05 +02:00
Efraim Flashner
377bfbc1f8
gnu: gxmessage: Add missing input.
...
* gnu/packages/gxmessage.scm (gxmessage)[native-inputs]: Add gtk+3-bin.
2016-10-27 21:03:08 +03:00
Efraim Flashner
327be74720
gnu: jasper: Updat eto 1.900.16.
...
* gnu/packages/image.scm (japer): Update to 1.900.16.
2016-10-27 20:14:17 +03:00
Kei Kebreau
233fbb6102
gnu: windowmaker: Add support for more image formats.
...
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Add giflib, libpng,
and libtiff.
2016-10-27 10:51:05 -04:00
Roel Janssen
b5ce25cc0e
gnu: r: Use uname from Guix
...
* gnu/packages/statistics.scm (r): Use uname from Guix.
2016-10-27 16:37:24 +02:00
Marius Bakke
6178274d19
gnu: python-urllib3: Update to 1.18.1.
...
* gnu/packages/python.scm (python-urllib3): Update to 1.18.1.
[home-page]: Use https URL.
2016-10-27 14:03:07 +01:00
Ludovic Courtès
245cc5f5d5
tests: Test installation with a RAID root partition.
...
* gnu/tests/install.scm (%raid-root-os, %raid-root-os-source)
(%raid-root-installation-script, %test-raid-root-os): New variables.
2016-10-27 13:48:52 +02:00
Ludovic Courtès
49baaff4d2
file-systems: 'disk-partitions' detected partitions from mapped devices.
...
Previously, partitions of mdadm- or cryptsetup-produced block devices
would not be returned by 'disk-partitions'.
* gnu/build/file-systems.scm (disk-partitions)[last-character]: New
procedure.
[partition?]: Add 'name' parameter and rewrite. Adjust caller.
* gnu/build/file-systems.scm (ENOENT-safe): Silently ignore ENOMEDIUM.
2016-10-27 13:48:52 +02:00
Ludovic Courtès
b800b8da21
tests: Add #:memory-size parameter for the command to run the installed OS.
...
* gnu/tests/install.scm (qemu-command/writable-image): Add #:memory-size
parameter and honor it.
2016-10-27 13:48:52 +02:00
Ludovic Courtès
4ed2f515d6
mapped-devices: Use 'mdadm-static' in 'raid-device-mapping'.
...
* gnu/system/mapped-devices.scm (open-raid-device, close-raid-device):
Use MDADM-STATIC instead of MDADM. Use 'file-append'.
2016-10-27 13:48:52 +02:00
Ludovic Courtès
631fda7e90
gnu: Add mdadm-static.
...
* gnu/packages/linux.scm (mdadm-static): New variable.
2016-10-27 13:48:52 +02:00
Efraim Flashner
7d876afdd8
gnu: libmikmod: Update to 3.3.10.
...
* gnu/packages/sdl.scm (libmikmod): Update to 3.3.10.
2016-10-27 12:23:04 +03:00
Efraim Flashner
355d8e873b
gnu: sdl2: Update to 2.0.5.
...
* gnu/packages/sdl.scm (sdl2): Update to 2.0.5.
2016-10-27 12:23:04 +03:00
Efraim Flashner
5d5790ce44
gnu: Use 'https' for libsdl urls.
...
* gnu/packages/sdl.scm (sdl, sdl2, sdl-image, sdl-mixer, sdl-net)
(sdl-ttf, sdl2-image, sdl2-ttf)[source]: Use https.
[home-page]: Use https.
2016-10-27 12:23:03 +03:00
Tobias Geerinckx-Rice
483b7ce7ae
gnu: mcelog: Update to 144.
...
* gnu/packages/linux.scm (mcelog): Update to 144.
2016-10-27 11:03:34 +02:00
Tobias Geerinckx-Rice
6270769dc2
gnu: btrfs-progs: Update to 4.8.2.
...
* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.2.
2016-10-27 11:03:34 +02:00
Mike Gerwitz
cd9ed6c1cb
gnu: gnupg: Add support for pcsc-lite.
...
* gnu/packages/gnupg.scm (gnupg)[inputs]: Add pcsc-lite.
[arguments]: Rename phase 'patch-config-files' to 'patch-paths'. Patch
`scd/scdaemon.c' with absolute path of libpcsclite.so.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-10-27 09:56:54 +01:00
Mike Gerwitz
a6b256affc
gnu: Add pcsc-lite.
...
* gnu/packages/security-token.scm (pcsc-lite): New variable.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-10-27 09:56:52 +01:00
ng0
8888fe826c
gnu: Add dbacl.
...
* gnu/packages/textutils.scm (dbacl): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-10-27 11:42:39 +03:00
Efraim Flashner
5fd84e288c
gnu: valgrind: Use 'modify-phases' syntax.
...
* gnu/packages/valgrind.scm (valgrind)[arguments]: Use 'modify-phases'
syntax.
2016-10-27 11:42:38 +03:00
Efraim Flashner
e68168eb87
gnu: valgrind: Update to 3.12.0.
...
* gnu/packages/valgrind.scm (valgrind): Update to 3.12.0.
2016-10-27 11:42:29 +03:00
Hartmut Goebel
49a531f545
gnu: python-pathlib2: Add comment.
...
As suggested by Efraim Flashner.
* gnu/packages/python.scm (python-pathlib2): Add comment.
2016-10-27 10:09:10 +02:00