Commit graph

63003 commits

Author SHA1 Message Date
Marius Bakke 361541d4a5
gnu: gdb: Apply cross-build fix without changing the native variant.
Commit 76129cd3ed accidentally changed the gdb
derivation, causing too many rebuilds for the 'master' branch.

* gnu/packages/gdb.scm (gdb-9.1)[arguments]: Only apply cross-build fix when
cross-compiling.
2020-06-27 10:01:09 +02:00
Jan (janneke) Nieuwenhuizen 35691bf5dc
gnu: Add gdb-minimal.
* gnu/packages/gdb.scm (gdb-minimal): New variable.
2020-06-27 00:58:44 +02:00
Jan (janneke) Nieuwenhuizen 76129cd3ed
gnu: gdb: Add support for the Hurd.
* gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: When compiling for the Hurd,
add required build dependency mig.
["arguments"]: Add "binutils" fall-back lookup in native-inputs for
cross-builds.
* gnu/packages/patches/gdb-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gdb.scm (gdb-9.2): Use it.
2020-06-26 23:31:02 +02:00
Jan (janneke) Nieuwenhuizen 00410bbeaf
gnu: mig: Do not assume "perl" to be available.
* gnu/packages/hurd.scm (mig)[inputs]: Include perl.
[arguments]: Substitute "perl" with full store file name in bin/mig.
* gnu/packages/cross-base.scm (cross-kernel-headers): Adjust mig-cross
accordingly.
2020-06-26 23:29:19 +02:00
Tobias Geerinckx-Rice e6685186a5
gnu: lxrandr: Depend on xrandr.
* gnu/packages/lxde.scm (lxrandr)[arguments]: Substitute xrandr's
absolute file name.

Reported by pinoaffe on #guix.
2020-06-26 22:11:05 +02:00
Maxim Cournoyer c0dd4140f6
gnu: python-autopep8: Update to 1.5.3.
Fixes <http://issues.guix.gnu.org/42062>.

* gnu/packages/python-xyz.scm (python-autopep8): Update to 1.5.3.
2020-06-26 13:34:03 -04:00
Mathieu Othacehe 3f44034e8f
installer: Use latest Guile.
Since the installer is loading Guix modules built with Guile 3.0.4, the
installer script must be run by the same Guile version to avoid a bytecode
incompatibility.

This is a follow-up of a2991de0f4.

* gnu/installer.scm (installer-program): Use guile3.0-latest for the
installation script.
2020-06-26 18:39:29 +02:00
Ludovic Courtès 641631c1a2
store: Use '=' instead of 'eqv?'.
Fixes <https://bugs.gnu.org/42047>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* guix/store.scm (open-connection): Use '=' instead of 'eqv?'.
This works around <https://bugs.gnu.org/42060> while also being more
accurate since the arguments are known to be integers.
2020-06-26 16:19:53 +02:00
Ludovic Courtès 6b2e91b1fc
challenge: Fix option indentation in '--help' output.
* guix/scripts/challenge.scm (show-help): Indent '--verbose' and
'--diff' correctly (high tech!).
2020-06-26 16:19:53 +02:00
Ludovic Courtès 25b267afed
Add more (ice-9 format) imports.
* guix/scripts/describe.scm: Add missing (ice-9 format).
* guix/scripts/system.scm: Likewise.
2020-06-26 16:19:53 +02:00
Ludovic Courtès 95c2bc49cf
tests: Skip lint tests when HTTP server cannot listen.
This could happen when running tests in parallel.

* tests/lint.scm ("github-url")
("github-url: one suggestion")
("github-url: already the correct github url")
("archival: missing content")
("archival: content available")
("archival: missing revision")
("archival: revision available")
("archival: rate limit reached"): Add 'test-skip' statement above.
2020-06-26 16:19:53 +02:00
Ludovic Courtès 5813a0c94f
doc: 'guix hash' is not SHA256-only.
This is a followup to 18ae1ec3ec.

* doc/guix.texi (Invoking guix hash): Remove "SHA256" from the first
paragraph.
2020-06-26 16:19:53 +02:00
Pierre Neidhardt 93ff6a40e4
gnu: emacs-evil-collection: Update to 20200626.
* gnu/packages/emacs-xyz.scm (emacs-evil-collection): Update to 20200626.
2020-06-26 15:26:16 +02:00
Mathieu Othacehe 544fd8e3b5
tests: install: Disable image compression.
* gnu/tests/install.scm (run-install): Disable image compression to speed-up
the tests.
2020-06-26 15:00:08 +02:00
Mathieu Othacehe 1da6914589
tests: install: Fix marionette race condition.
If the marionette shuts down before the script return is received, then status
will be <eof>.

* gnu/tests/install.scm (run-install): Allow status to be the <eof> object.
2020-06-26 14:49:32 +02:00
Marius Bakke eca649d06b
gnu: binutils-gold: Inherit replacements from binutils.
* gnu/packages/base.scm (binutils-gold): Use PACKAGE/INHERIT instead of INHERIT.
2020-06-26 14:02:56 +02:00
Marius Bakke 70cbab44e3
gnu: binutils@2.33.1: Do not inherit replacements from binutils.
* gnu/packages/base.scm (binutils-2.33): Use INHERIT instead of PACKAGE/INHERIT.
2020-06-26 14:02:56 +02:00
Marius Bakke 4a13050b87
gnu: binutils-gold: Inherit from 'binutils+documentation'.
* gnu/packages/base.scm (binutils-gold): Inherit from BINUTILS+DOCUMENTATION
instead of BINUTILS.
2020-06-26 14:02:56 +02:00
Marius Bakke 3163bc5f44
gnu: ungoogled-chromium: Inline %PACKAGE-VERSION.
* gnu/packages/chromium.scm (%chromium-version, package-revision,
%package-version): Remove.
(ungoogled-chromium)[version, source]: Adjust accordingly.
2020-06-26 14:02:56 +02:00
Katherine Cox-Buday 6e9f882608
gnu: go: Update to 1.14.4.
* gnu/packages/golang.scm (go): Update to 1.14.4.
* gnu/packages/docker.scm (docker)[arguments]: Fix build with go@1.14.4.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-06-26 11:49:49 +01:00
Nicolas Goaziou 0f7378d7f9
gnu: emacs-magit: Update to 2.90.1-6-7f486d4.
* gnu/packages/emacs-xyz.scm (emacs-magit): Update to 2.90.1-6-7f486d4.
2020-06-26 12:15:06 +02:00
Mathieu Othacehe ce67853e09
gnu: cuirass: Update to 0.0.1-35.91204d.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-35.91204d.
2020-06-26 11:33:34 +02:00
Pierre Neidhardt 880939c1a7
gnu: Add drip.
* gnu/packages/java.scm (drip): New variable.
2020-06-26 11:26:18 +02:00
Mathieu Othacehe f27bec107e
system: image: Fix disk-image name.
This is a follow-up of 5980ec8ada.

* gnu/system/image.scm (system-disk-image): When using the image name, convert
it to string first.
2020-06-26 10:05:58 +02:00
Mathieu Othacehe 5980ec8ada
system: image: Use the image name as the disk-image derivation name.
* gnu/system/image.scm (system-disk-image): Use the image name as disk-image
derivation name, if defined. Otherwise use the generic "disk-image" name.
2020-06-26 09:38:16 +02:00
Marius Bakke e6db8912fd
gnu: ungoogled-chromium: Remove all Blink performance tests.
* gnu/packages/chromium.scm (%blacklisted-files): New variable.
(ungoogled-chromium-snippet): Adjust accordingly.
2020-06-26 01:54:00 +02:00
Marius Bakke 7eb8ae5f6c
gnu: ungoogled-chromium: Convert computed origin to source snippet.
* gnu/packages/chromium.scm (computed-origin-method, %chromium-origin): Remove.
(ungoogled-chromium-source): Rename to ...
(ungoogled-chromium-snippet): ... this.  Adjust for running as snippet.
(ungoogled-chromium)[source]: Use URL-FETCH, with custom snippet.
2020-06-26 01:54:00 +02:00
Marius Bakke e4e9a1bc35
gnu: openvswitch: Update to 2.13.0.
* gnu/packages/networking.scm (openvswitch): Update to 2.13.0.
[native-inputs]: Change from PYTHON-2 to PYTHON-WRAPPER.
[propagated-inputs]: Remove PYTHON2-SIX.
2020-06-26 01:54:00 +02:00
Marius Bakke 6941004fb0
gnu: debootstrap: Wrap with gpg and wget in PATH.
* gnu/packages/debian.scm (debootstrap)[inputs]: Add GNUPG and WGET.
2020-06-26 01:53:59 +02:00
Marius Bakke 5d426d3c04
gnu: xf86-video-intel: Update to 2.99.917-16.5ca3ac1.
* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.99.917-16.5ca3ac1.
2020-06-26 01:53:59 +02:00
Marius Bakke 544df98c6d
gnu: Add clitest.
* gnu/packages/check.scm (clitest): New public variable.
2020-06-26 01:53:59 +02:00
Mark H Weaver 5f465944a0
gnu: linux-libre@4.19: Update to 4.19.130.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.130.
(linux-libre-4.19-pristine-source): Update hash.
2020-06-25 19:07:02 -04:00
Mark H Weaver 345f99517a
gnu: linux-libre@4.14: Update to 4.14.186.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.186.
(linux-libre-4.14-pristine-source): Update hash.
2020-06-25 19:05:57 -04:00
Jan (janneke) Nieuwenhuizen 2463a78d17
image: hurd: Initialize root partition for the Hurd.
This is a follow-up to commit b904b59ce5.

* gnu/system/image.scm (hurd-initialize-root-partition): Move to ...
* gnu/system/images/hurd.scm (hurd-initialize-root-partition): ... here.
(hurd-disk-image): Use it.
2020-06-25 22:52:12 +02:00
Jan (janneke) Nieuwenhuizen fd932862ac
image: hurd: Create hurd-compatible ext2 file-system.
This is a follow-up to commit b904b59ce5.

* gnu/system/images/hurd.scm (hurd-disk-image): Add file-system-options to
create an ext2 file-system that is compatible with the Hurd.
2020-06-25 22:52:09 +02:00
Tobias Geerinckx-Rice ffecb2396f
gnu: diffoscope: Console widowed brackets.
* gnu/packages/diffoscope.scm (diffoscope)[native-inputs]: Move closing
brackets to the previous line.
2020-06-25 19:01:41 +02:00
Tobias Geerinckx-Rice afba93efd4
gnu: diffoscope: Install the man page.
* gnu/packages/diffoscope.scm (diffoscope)[arguments]:
Add ‘build-man-page’ and ‘install-man-page’ phases.
[native-inputs]: Add help2man.
2020-06-25 18:55:55 +02:00
Jan (janneke) Nieuwenhuizen d613991a8e
gnu: grub: Cross-build fix for system i686-linux.
* gnu/packages/patches/grub-cross-system-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Use it.
2020-06-25 17:46:37 +02:00
Efraim Flashner dda267e3a7
gnu: Add vim-eunuch.
* gnu/packages/vim.scm (vim-eunuch): New variable.
2020-06-25 15:23:01 +03:00
Simon South d1a26bedcc
gnu: knot-resolver: Enable automatic reloading of policy files.
* gnu/packages/dns.scm (knot-resolver)[inputs]: Add lua5.1-cqueues.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-25 12:29:23 +02:00
Simon South 7c54e226f6
gnu: Add lua-cqueues.
* gnu/packages/lua.scm (make-lua-cqueues): New function.
(lua-cqueues, lua5.1-cqueues, lua5.2-cqueues): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-25 12:29:23 +02:00
Simon South 31be8fc87f
gnu: Add lua-ossl.
luaossl doesn't actually require M4 to build, unlike cqueues.

Here's a replacement patch that omits M4 from the package inputs.

>From 610918a771b84a081af24940ae94d35b1af7511e Mon Sep 17 00:00:00 2001
From: Simon South <simon@simonsouth.net>
Date: Fri, 15 May 2020 11:18:44 -0400
Subject: [PATCH 1/3] gnu: Add lua-ossl.
To: 41363@debbugs.gnu.org

* gnu/packages/lua.scm (make-lua-ossl): New function.
(lua-ossl, lua5.1-ossl, lua5.2-ossl): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-06-25 12:29:23 +02:00
Ludovic Courtès 3b7145d821
deduplication: Leave the store permissions unchanged.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* guix/store/deduplication.scm (call-with-writable-file): Call THUNK
directly when FILE is (%store-directory).
2020-06-25 12:29:23 +02:00
Ludovic Courtès 6b654a3332
deduplication: Fix default value of #:store in 'deduplicate'.
* guix/store/deduplication.scm (deduplicate): Change #:store default
value to (%store-directory).
2020-06-25 12:29:23 +02:00
Ludovic Courtès d52e16d3b6
deduplication: Use 'dynamic-wind' when changing permissions of the parent.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* guix/store/deduplication.scm (call-with-writable-file): New procedure.
(with-writable-file): New macro.
(replace-with-link): Use it.
2020-06-25 12:29:22 +02:00
Ludovic Courtès b930f0ba21
daemon: Correctly handle EMLINK corner case when deduplicating.
Suggested by Caleb Ristvedt <caleb.ristvedt@cune.org>.

* nix/libstore/optimise-store.cc (LocalStore::optimisePath_): Save errno
from 'rename' before calling 'unlink'.
2020-06-25 12:29:22 +02:00
Mathieu Othacehe b06ba9e0ff
ci: Build Guix System images.
Build a list of Guix System images. For now, this list only contains the Hurd
barebones Guix System image.

* gnu/ci.scm (%guixsd-supported-systems): Remove "armhf-linux",
(%u-boot-systems): remove unused variable,
(%guix-system-images): new variable
(qemu-jobs): rename to "image-jobs" and build the Guix Systems listed in the
new "%guix-system-images" variable,
(system-test-jobs): adapt accordingly,
(hydra-jobs): ditto.
2020-06-25 10:29:41 +02:00
Maxim Cournoyer fab8fed355
gnu: Add ruby-middleware.
* gnu/packages/ruby.scm (ruby-middleware): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer aa1b0fb867
gnu: Add emacs-feature-mode.
* gnu/packages/emacs-xyz.scm (emacs-feature-mode): New variable.
2020-06-25 00:14:43 -04:00
Maxim Cournoyer 24be67517c
gnu: Add ruby-ruby-parser.
* gnu/packages/ruby.scm (ruby-ruby-parser): New variable.
2020-06-25 00:14:43 -04:00