Commit Graph

12983 Commits

Author SHA1 Message Date
Hartmut Goebel af3166c335
gnu: Add dfu-util.
* gnu/packages/flashing-tools.scm (dfu-util): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-06-01 22:26:06 +02:00
Ludovic Courtès b2e13aa287
doc: Suggest pgp.mit.edu.
* doc/guix.texi (Binary Installation): Use pgp.mit.edu instead of
keys.gnupg.net, which seems to be dead.
2016-06-01 22:25:57 +02:00
McKinley Olsen c44fb4df8a
gnu: Add vte-ng.
* gnu/packages/gnome.scm (vte-ng): New variable.

Signed-off-by: 宋文武 <iyzsong@gmail.com>
2016-06-01 21:25:16 +08:00
Leo Famulari 1c6303fae0
gnu: icedtea: Update to 1.13.11.
Fixes CVE-2016-{0686, 0687, 0695, 3425, 3427}.

* gnu/packages/patches/icedtea-remove-overrides.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/java.scm (icedtea): Update to 1.13.11.
[source]: Use the patch.
[inputs]: Add libxcomposite.
2016-06-01 02:29:01 -04:00
Mark H Weaver f0e60e89cb
gnu: autogen: Fix source URL.
* gnu/packages/autogen.scm (autogen)[source]: Fix source URL.
2016-06-01 00:00:36 -04:00
Ludovic Courtès 0adabad72d
install: 'cow-store' now bind-mounts the target's /tmp.
Reported by Matthew Jordan <matthewjordandevops@yandex.com>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00967.html>.

* gnu/system/install.scm (make-cow-store): Bind-mount TARGET's /tmp
on /tmp.
2016-05-31 23:38:51 +02:00
Ludovic Courtès 405d043ddd
import: github: Tiny cosmetic change.
* guix/import/github.scm (find-extension): Use a one-argument lambda.
2016-05-31 23:38:51 +02:00
Danny Milosavljevic f40dfcd055
gnu: rofi: New variable.
* gnu/packages/xdisorg.scm (rofi): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-31 17:21:11 -04:00
Alex Kost 37dbfc5084
gnu: emacs-constants: Fix source file-name.
Fixes a regression introduced in f99f3f24ef.

* gnu/packages/emacs.scm (emacs-constants)[source]: Fix file-name.
2016-05-31 23:51:54 +03:00
Alex Kost b097dd72c4
emacs: Add "Build Log" button to Package Info.
* emacs/guix-main.scm (package-build-log-file): New procedure.
* emacs/guix-ui-package.el (guix-package-build-log-file)
(guix-package-find-build-log)
(guix-package-info-insert-build-log-button): New procedures.
(guix-package-info-button-functions): Add
'guix-package-info-insert-build-log-button'.
2016-05-31 23:51:54 +03:00
Alex Kost e98316e69f
emacs: Add "Build" button to Package Info.
* emacs/guix-main.scm: Use (guix scripts) module for 'build-package'
procedure.
* emacs/guix-base.el (guix-build-package): New procedure.
* emacs/guix-ui-package.el (guix-package-info-insert-build-button): New
procedure.
(guix-package-info-button-functions): New variable.
(guix-package-info-insert-misc): Insert buttons using it.
2016-05-31 23:51:54 +03:00
Alex Kost 65e5fe54ba
emacs: Extend 'guix-mapinsert'.
* emacs/guix-utils.el (guix-mapinsert): Add 'indent' and 'column'
keyword arguments.
2016-05-31 23:51:54 +03:00
Alex Kost d01ebd05d1
emacs: Show built output directories in Package Info.
* emacs/guix-main.scm (package-store-path): New procedure.
* emacs/guix-base.el (guix-package-store-path): New procedure.
* emacs/guix-ui-package.el (guix-package-info-auto-find-package): New
variable.
(guix-package-info-show-store-path, guix-package-info-insert-misc): New
procedures.
(guix-package-info-format, guix-output-info-format): Add
'guix-package-info-insert-misc'.
2016-05-31 23:51:54 +03:00
Tomáš Čech 7a0094a5f2
gnu: taskwarrior: Update to 2.5.1
* gnu/packages/task-management.scm (taskwarrior): Update to 2.5.1.
2016-05-31 22:14:52 +02:00
Tomáš Čech 6ba8ca17fb
gnu: Add py3status.
* gnu/packages/python.scm (python-py3status): New variable.
2016-05-31 22:08:10 +02:00
Efraim Flashner c095330a8c
gnu: nginx: Update to 1.10.1 [Fixes CVE-2016-4450].
* gnu/packages/web.scm (nginx): Update to 1.10.1.
2016-05-31 22:50:41 +03:00
Efraim Flashner 99e4aa54a6
gnu: autogen: Use 'modify-phases'.
* gnu/packages/autogen.scm (autogen)[arguments]: Use 'modify-phases'.
2016-05-31 22:24:59 +03:00
Efraim Flashner e85ff3e2fd
gnu: autogen: Update to 5.18.10.
* gnu/packages/autogen.scm (autogen): Update to 5.18.10.
2016-05-31 22:20:57 +03:00
Efraim Flashner d5047266a9
gnu: scrot: Use 'modify-phases'.
* gnu/packages/xdisorg.scm (scrot)[arguments]: Use 'modify-phases'.
2016-05-31 22:11:35 +03:00
Efraim Flashner c5d15d41b7
gnu: scrot: Fix typo in source uri.
* gnu/packages/xdisorg.scm (scrot)[source]: Fix typo in uri.

This is a follow-up to 9da459f350.
2016-05-31 22:09:43 +03:00
Efraim Flashner 2fe176be0f
gnu: emms: Use 'modify-phases'.
* gnu/packages/emacs.scm (emms)[arguments]: Use 'modify-phases'.
2016-05-31 22:05:44 +03:00
Efraim Flashner 0985f5269c
gnu: emms: Update to 4.1.
* gnu/packages/emacs.scm (emms): Update to 4.1.
2016-05-31 22:05:44 +03:00
Efraim Flashner b1b8497925
gnu: librecad: Update to 2.0.11.
* gnu/packages/engineering.scm (librecad): Update to 2.0.11.
2016-05-31 22:05:44 +03:00
Efraim Flashner 805117827c
gnu: dosfstools: Update to 4.0.
* gnu/packages/disk.scm (dosfstools): Update to 4.0.
[arguments]: Re-enable the 'configure phase.
2016-05-31 22:05:44 +03:00
Efraim Flashner 2b8ca5fcb4
gnu: microscheme: Update to 0.9.3.
* gnu/packages/avr.scm (microscheme): Update to 0.9.3.
2016-05-31 22:05:44 +03:00
Efraim Flashner b52ae4de46
gnu: munge: Update to 0.5.12.
* gnu/packages/admin.scm (munge): Update to 0.5.12.
2016-05-31 22:05:44 +03:00
Efraim Flashner b93efac026
import github: Add to extension list.
* guix/import/github.scm (find-extension): Add '.tgz' extension.
2016-05-31 22:05:44 +03:00
Efraim Flashner 57d83cd29b
gnu: obs: Update to 0.14.2.
* gnu/packages/video.scm (obs): Update to 0.14.2.
2016-05-31 22:05:44 +03:00
David Thompson 13384842f8
gnu: emacs-better-defaults: Specify source file name.
* gnu/packages/emacs.scm (emacs-better-defaults)[source]: Specify a
  useful file name, as usual with tarballs from GitHub.
2016-05-31 13:41:15 -04:00
Leo Famulari e88eb07110
gnu: imagemagick: Fix CVE-2016-5118.
* gnu/packages/patches/imagemagick-CVE-2016-5118.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (imagemagick): Use it.
2016-05-31 13:38:40 -04:00
Leo Famulari 4d93a76138
gnu: graphicsmagick: Update to 1.3.24 [security update].
Fixes CVE-2016-{2317, 2318, 5118} and many other security issues
described in 'NEWS.txt'.

* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.24.
[source]: Remove patch.
2016-05-31 13:33:09 -04:00
Ludovic Courtès 151afd84dc
daemon: Substitute queries return immediately when substitutes are disabled.
Reported by Federico Beffa <beffa@ieee.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00928.html>.

* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths)
(LocalStore::querySubstitutablePathInfos): Return when
'settings.useSubstitutes' is false.
* tests/store.scm ("references/substitutes missing reference info"):
Make sure to return #f on failure.
* tests/store.scm ("substitutable-path-info when substitutes are turned off"):
("substitutable-paths when substitutes are turned off"): New tests.
2016-05-31 18:22:14 +02:00
Ludovic Courtès 4078fa8f72
daemon: Fix typo.
Fixes a regression/typo introduced in
e08380fb6c.

* nix/libstore/build.cc (DerivationGoal::startBuilder): Canonicalize
"/tmp", not "/tmp/guix-build".
2016-05-31 18:22:14 +02:00
Ludovic Courtès 0a40626fd2
offload: Use (guix build syscalls).
This is a followup to 4e0ea3eb28.

* guix/scripts/offload.scm: Use (guix build syscalls).
2016-05-31 18:22:14 +02:00
Ludovic Courtès 75abbd0cbe
daemon: Remove unused XML output code.
* nix/local.mk (libutil_a_SOURCES): Remove libutil/xml-writer.cc.
(libutil_headers): Remove libutil/xml-writer.hh.
* nix/libutil/xml-writer.hh, nix/libutil/xml-writer.cc: Remove.
2016-05-31 18:22:14 +02:00
Ricardo Wurmus 23aab4ab2c
gnu: Add ghmm.
* gnu/packages/machine-learning.scm (ghmm): New variable.
2016-05-31 17:01:03 +02:00
Efraim Flashner a5dd8db4ff
gnu: gimp: Update to 2.8.16.
* gnu/packages/gimp.scm (gimp): Update to 2.8.16.
2016-05-31 17:50:08 +03:00
Ricardo Wurmus 64efa3078a
gnu: Add r-genomationdata.
* gnu/packages/bioinformatics.scm (r-genomationdata): New variable.
2016-05-31 16:29:37 +02:00
Ricardo Wurmus aa3b391092
gnu: Add r-runit.
* gnu/packages/statistics.scm (r-runit): New variable.
2016-05-31 16:24:59 +02:00
Ricardo Wurmus 8170172502
gnu: julia: Update to 0.4.5.
* gnu/packages/julia.scm (julia): Update to 0.4.5.
(libuv-julia): Update commit.
2016-05-31 16:21:31 +02:00
Ricardo Wurmus 4ce3c2872b
gnu: Add r-knitrbootstrap.
* gnu/packages/statistics.scm (r-knitrbootstrap): New variable.
2016-05-31 16:18:14 +02:00
Eelco Dolstra b4528110c6
daemon: rounds: Keep the differing output if -K is given.
Regardless of -K, we now also print which output differs.
2016-05-31 14:25:28 +02:00
Eelco Dolstra 56b8f56788
daemon: Canonicalize gids to 0.
Previously files in the Nix store were owned by root or by nixbld,
depending on whether they were created by a substituter or by a
builder. This doesn't matter much, but causes spurious diffoscope
differences. So use root everywhere.
2016-05-31 14:25:28 +02:00
Eelco Dolstra 7f3b2510d6
daemon: check: Keep the differing output if -K is given.
This makes it easier to investigate the non-determinism, e.g.

  $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
  error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’

  $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
  ...
  ├── lib/libz.a
  │   ├── metadata
  │   │ @@ -1,15 +1,15 @@
  │   │ -rw-r--r-- 30001/30000   3096 Jan 12 15:20 2016 adler32.o
  ...
  │   │ +rw-r--r-- 30001/30000   3096 Jan 12 15:28 2016 adler32.o
  ...

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra 7889e72dad
daemon: check: Fix "failed to produce output path".
This occured when sandbox building is disabled, at least one output
exists, and at least one other output does not.
2016-05-31 14:25:28 +02:00
Eelco Dolstra f83e82cd00
daemon: check: Fix assertion failure when some outputs are missing.
E.g.

  $ nix-build pkgs/stdenv/linux/ -A stage1.pkgs.perl --check
  nix-store: src/libstore/build.cc:1323: void nix::DerivationGoal::tryToBuild(): Assertion `buildMode != bmCheck || validPaths.size() == drv->outputs.size()' failed.

when perl.out exists but perl.man doesn't. The fix is to only check
the outputs that exist. Note that "nix-build -A stage1.pkgs.all
--check" will still give a (proper) error in this case.
2016-05-31 14:25:28 +02:00
Eelco Dolstra c56cd90cc9
daemon: When repairing, rebuild if there is no substituter. 2016-05-31 14:25:28 +02:00
Eelco Dolstra 1a9574e3a7
daemon: Fix --repair failure on multiple-output derivations.
If repair found a corrupted/missing path that depended on a
multiple-output derivation, and some of the outputs of the latter were
not present, it failed with a message like

  error: path ‘/nix/store/cnfn9d5fjys1y93cz9shld2xwaibd7nn-bash-4.3-p42-doc’ is not valid

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-31 14:25:28 +02:00
Eelco Dolstra 63a5be07e2
daemon: ~PathLocks(): Handle exceptions.
Otherwise, since the call to write a "d" character to the lock file
can fail with ENOSPC, we can get an unhandled exception resulting in a
call to terminate().
2016-05-31 14:25:28 +02:00
Eelco Dolstra e08380fb6c
daemon: Handle /tmp being a symlink.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Call 'canonPath'
on "/tmp".
2016-05-31 14:25:28 +02:00