Commit graph

50392 commits

Author SHA1 Message Date
Maxim Cournoyer c09903acae
linux-boot: Fix indentation.
* gnu/build/linux-boot.scm (boot-system): Re-indent.
2019-11-18 13:22:16 +09:00
Maxim Cournoyer d2ae8a25db
file-systems: Fix docstring.
* gnu/build/file-systems.scm (mount-file-system): Clean the documentation from
the no longer existing parameters (these are now encapsulated within a
<file-system> record).
2019-11-18 13:22:16 +09:00
Maxim Cournoyer 1a034f043e
tests: install: Fix typo.
* gnu/tests/install.scm (run-install): Fix typo in docstring.
2019-11-18 13:22:15 +09:00
Alex Sassmannshausen b997d43214
utils: Handle #f file-name.
* guix/utils.scm (current-source-directory): Change dispatch to handle #f
file-name.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2019-11-18 13:18:41 +09:00
Ludovic Courtès 9c9982dc0c
guix build: Handle "guix build /….drv" correctly for non-existent derivations.
This lets the daemon substitute missing derivations, as in the example
at <https://bugs.gnu.org/38226>, instead of failing with ENOENT.

* guix/scripts/build.scm (options->things-to-build): In the
'derivation-path?' case, don't fail when 'read-derivation-from-file'
raises to ENOENT; return the empty list in that case.
(guix-build): Add non-existent '.drv' files to ITEMS.
Pass ITEMS in addition to DRV to 'build-derivations'.
* tests/guix-build.sh: Add test.
2019-11-17 23:14:54 +01:00
Ludovic Courtès 16ac74033a
tests: Test "guix build /gnu/store/….drv".
* tests/guix-build.sh: Add test for passing "guix build" a .drv.
2019-11-17 23:14:54 +01:00
Ludovic Courtès 65209ffabd
gnu: gsettings-desktop-schemas: Fix file name of default background.
Reported by Alexandros Theodotou <alex@zrythm.org>
at <https://lists.gnu.org/archive/html/guix-devel/2019-11/msg00157.html>.

* gnu/packages/gnome.scm (gsettings-desktop-schemas)[arguments]: New
field.
[inputs]: Add GNOME-BACKGROUNDS.
2019-11-17 23:14:54 +01:00
Ludovic Courtès bead6dcb58
gnu: slurm: Allow builds on 32-bit platforms.
Fixes a regression introduced in
7c96befa52 whereby ./configure would fail
on 32-bit platforms due to 32-bit support being "deprecated".

* gnu/packages/parallel.scm (slurm)[arguments]: Pass
"--enable-deprecated" configure flag unless 'target-64bit?' returns
true.
2019-11-17 23:14:54 +01:00
Jesse Gibbons 6ba6a1c103
gnu: python-hy: Set HOME to /tmp before install
Fixes <https://bugs.gnu.org/38241>.

* gnu/packages/python-xyz.scm (python-hy)[arguments]: Add custom
'set-HOME phase before the 'install phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-17 23:14:54 +01:00
Nicolas Goaziou ea04211358
gnu: hedgewars: Update to 1.0.0.
* gnu/packages/games.scm (hedgewars): Update to 1.0.0.
[arguments]: Remove unnecessary phases.
2019-11-17 23:12:54 +01:00
Mathieu Othacehe 57c7bfec62
gnu: Add clang-toolchain.
In the same spirit that gcc-toolchain provides a complete gcc toolchain
suitable for user profile installation, add a make-clang-toolchain function
and use it to create clang-toolchain, clang-toolchain-7 and clang-toolchain-6
packages.

* gnu/packages/llvm.scm (make-clang-toolchain): New method.
(clang-toolchain): New public variable defined using previous method,
(clang-toolchain-7): ditto,
(clang-toolchain-6): ditto.
2019-11-17 11:33:11 +01:00
David Truby 496bbeee7a
gnu: clang-from-llvm: Fix libstdc++ header location search.
Make clang use libstdc++ from gcc package. In the future, the build of clang
could be parametrized to build clang with libstdc++ support or with libcxx
support.

* gnu/packages/llvm.scm (clang-from-llvm)[arguments]: Make clang look for
libstdc++ in the right location, which is gcc c++ includes directory.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2019-11-17 11:25:59 +01:00
Efraim Flashner cf9dad6c87
gnu: librsvg-next: Update to 2.46.3.
* gnu/packages/gnome.scm (librsvg-next): Update to 2.46.3.
[license]: Update to lgpl2.1+.
2019-11-17 09:24:23 +02:00
Efraim Flashner b3820edc99
gnu: librsvg-next: Don't use name variable in source uri.
* gnu/packages/gnome.scm (librsvg-next)[source]: Hardcode name.
2019-11-17 09:23:41 +02:00
Mark H Weaver 2484e0b3e4
gnu: linux-libre: Update deblob scripts.
* gnu/packages/linux.scm (deblob-scripts-5.3): Update to 5.3.11.
(deblob-scripts-5.19): Update to 4.19.84.
(deblob-scripts-4.14): Update to 4.14.154.
(deblob-scripts-4.9): Update to 4.9.201.
(deblob-scripts-4.4): Update to 4.4.201.
2019-11-16 17:40:06 -05:00
Kei Kebreau fbdc87a7cb
gnu: crispy-doom: Update to 5.6.3.
* gnu/packages/games.scm (crispy-doom): Update to 5.6.3.
2019-11-16 17:26:36 -05:00
Oskar Köök 38df1a5bcd
gnu: elixir: Update to 1.9.4.
* gnu/packages/elixir.scm (elixir): Update to 1.9.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-11-16 23:10:24 +02:00
David Wilson bf5dea3aa4
gnu: emacs-desktop-environment: Update to 0.3.0.
* gnu/packages/emacs-xyz.scm (emacs-desktop-environment): Update to 0.3.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-11-16 23:05:34 +02:00
Mathieu Othacehe 191a9a26b5
gnu: linux-libre: Remove cross-libc from CROSS_CPATH.
* gnu/packages/linux.scm (make-linux-libre*)[arguments]: Do not unset
CROSS_CPATH completely, instead remove cross-libc from CROSS_CPATH in the same
way that libc is removed from CPATH.
2019-11-16 20:40:15 +01:00
Efraim Flashner 4edc4f57bd
gnu: keepassxc: Update to 2.5.1.
* gnu/packages/password-utils.scm (keepassxc): Update to 2.5.1.
2019-11-16 21:11:03 +02:00
Kei Kebreau 81d7cd592e
gnu: hyperrogue: Update to 11.2d.
* gnu/packages/games.scm (hyperrogue): Update to 11.2d.
2019-11-16 12:32:30 -05:00
Björn Höfling 30502f1dd6
php: Enable more extentions.
* gnu/packages/php.scm (php)[arguments]: Use libzip instead of zip for
the "--with-libzip" argument, enable intl and zip.
[inputs]: Add icu4c, libzip. Remove zip.
2019-11-16 18:00:24 +01:00
Björn Höfling a9b15d4c7f
gnu: libzip: Add more inputs.
This enables encryption.

* gnu/packages/compression.scm (libzip)[inputs]: Add gnutls, openssl.
2019-11-16 18:00:23 +01:00
Josh Holland 264a63d643
gnu: Add redshift-wayland
* gnu/packages/xdisorg.scm (redshift-wayland): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-16 17:43:49 +01:00
Oskar Köök 2148e68d33
gnu: elixir: Update to 1.9.2.
* gnu/packages/elixir.scm (elixir): Update to 1.9.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-16 17:43:49 +01:00
Ludovic Courtès b1077c2234
gnu: openmpi: Silence UCX warnings when running tests.
* gnu/packages/mpi.scm (%openmpi-setup): Set "UCX_LOG_LEVEL".
2019-11-16 17:43:49 +01:00
Ludovic Courtès 2401806bdb
gnu: ucx: Avoid relying on /sys/class/net.
This fixes test failures of packages that use Open MPI, whereby UCX
would error out due to /sys/class/net being unavailable in the build
chroot that the daemon sets up.

* gnu/packages/patches/ucx-tcp-iface-ioctl.patch: New file.
* gnu/packages/fabric-management.scm (ucx)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-11-16 17:43:49 +01:00
Mark H Weaver bd7df85ea4
gnu: linux-libre@4.9: Update to 4.9.202.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.202.
(linux-libre-4.9-pristine-source): Update hash.
2019-11-16 11:39:42 -05:00
Mark H Weaver 8459cf5756
gnu: linux-libre@4.4: Update to 4.4.202.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.202.
(linux-libre-4.4-pristine-source): Update hash.
2019-11-16 11:38:37 -05:00
Florian Pelz 56d951ab80
news: Fix another 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:32:57 +00:00
Florian Pelz 7082fa321d
news: Fix 'de' translation typo.
* etc/news.scm: Fix typo.
2019-11-16 10:25:24 +00:00
Ludovic Courtès 87e7faa2ae
time-machine: Honor the standard build options.
* guix/scripts/time-machine.scm (show-help): Call 'show-build-options-help'.
(%options): Add %STANDARD-BUILD-OPTIONS.
(%default-options): New variable.
(parse-args): Pass (list %default-options) to 'parse-command-line' and
remove #:build-options? parameter.
(guix-time-machine): Call 'set-build-options-from-command-line' and wrap
'cached-channel-instance' call in 'with-status-verbosity'.
* doc/guix.texi (Invoking guix time-machine): Mention common build options.
2019-11-15 23:29:06 +01:00
Ludovic Courtès d17e012da7
time-machine: Handle 'git-error' exceptions.
* guix/scripts/pull.scm (with-git-error-handling): Export.
* guix/scripts/time-machine.scm (guix-time-machine): Wrap body in
'with-git-error-handling'.
2019-11-15 23:29:06 +01:00
Konrad Hinsen 067305977c
news: Add entry for "guix time-machine".
* etc/news.scm: Add entry for 'guix time-machine'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-15 23:29:06 +01:00
Konrad Hinsen 1d5485690b
inferior: 'cached-channel-instance' takes an open store connection.
* guix/inferior.scm (cached-channel-instance): Take an explicit 'store'
argument.
(inferior-for-channels): Wrap call to 'cached-channel-instance' in
'with-store'.
* guix/time-machine.scm (guix-time-machine): Wrap call to
'cached-channel-instance' in 'with-store'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-15 23:28:17 +01:00
Konrad Hinsen f675f8dec7
Add 'guix time-machine'.
* guix/scripts/time-machine.scm: New file.
* Makefile.am: (MODULES): Add it.
* guix/scripts/pull.scm (channel-list): Export.
* guix/inferior.scm (cached-channel-instance): New procedure.
(inferior-for-channels): Use it.
* doc/guix.texi (Invoking guix time-machine): New section.
(Channels): Cross-reference it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-15 23:28:17 +01:00
Ludovic Courtès 1edcfda81b
pull: Remove unused '--verbose' option.
This option had been ignored since commit
0d39a3b989 (August 2018).

* guix/scripts/pull.scm (show-help, %options): Remove "--verbose".
(build-and-install): Remove #:verbose?, which was unused.
(guix-pull): Adjust accordingly.
2019-11-15 23:28:17 +01:00
Ludovic Courtès 6f160c5c38
Revert "gnu: openmpi: Pass explicit "--with-*" configure flags."
This reverts commit eaa52b5baa,
which would lead to build failures on systems other than x86_64-linux.
2019-11-15 23:28:17 +01:00
Ludovic Courtès 96a469f1cd
gnu: openmpi: Fix typo.
* gnu/packages/mpi.scm (openmpi)[inputs]: For UCX, check the supported
systems of UCX, not PSM2.
2019-11-15 23:28:17 +01:00
Eric Bavier 257e63044f
gnu: tomb: Use system's sudo.
* gnu/packages/crypto.scm (tomb)[arguments]: Disallow references to the "sudo"
input.  Remove it's path from the wrapper.
2019-11-15 14:59:16 -06:00
Eric Bavier 417df5bb57
gnu: tomb: Add lsof input for "ps" and "slam".
* gnu/packages/crypto.scm (tomb)[inputs]: Add lsof.
[arguments]: Add it to the wrapper PATH.
2019-11-15 14:59:16 -06:00
Eric Bavier 4535eb91c3
gnu: tomb: Update to 2.7.
* gnu/packages/patches/tomb-fix-errors-on-open.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/crypto.scm (tomb): Update to 2.7.
[source]: Use the patch.
2019-11-15 14:59:07 -06:00
Ivan Vilata-i-Balaguer 528b52390d
gnu: CMake: Add version 3.15.5.
Add CMake version 3.15.5 but do not replace the existing version to avoid
triggering the rebuild of all CMake-based packages.

See <https://issues.guix.gnu.org/issue/38060>.

* gnu/packages/cmake.scm (cmake-3.15.5): Add CMake 3.15.5.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2019-11-15 19:09:13 +01:00
Marius Bakke ba261f6318
gnu: ungoogled-chromium: Update to 78.0.3904.97-0.acaf163.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for
Chromium 78.
(%chromium-version): Set to 78.0.3904.97.
(%ungoogled-revision): Set to acaf16383f264d8a2f24142ad054c9b4355771d3.
(%debian-revision): Set to e43d74632091324774a5049668782dba7b09cf72.
(%chromium-origin, %ungoogled-origin, %debian-origin): Update hashes.
(gentoo-patches, %auxiliary-patches): Remove variables.
(ungoogled-chromium-source): Adjust Debian patches for 78.  Don't apply
%AUXILIARY-PATCHES.
(libvpx/chromium): New variable.
(ungoogled-chromium)[arguments]: Add substitution for ICU headers.  Adjust
other substitutions for 78.  Remove obsolete workaround.  Increase ulimit in
'build' phase.  Don't install '22x22' icon, which no longer exists.
[inputs]: Change from LIBVPX to LIBVPX/CHROMIUM.
[properties]: Remove HIDDEN?.
(ungoogled-chromium-wayland)[inputs]: Don't remove inherited inputs.
(ungoogled-chromium-is-deprecated, ungoogled-chromium-wayland-is-deprecated):
Remove variables.
2019-11-15 19:09:13 +01:00
Marius Bakke 97b672d99f
gnu: gn: Enable tests.
* gnu/packages/build-tools.scm (gn)[arguments]: Remove #:tests?.  Override
'check' phase.
2019-11-15 19:09:13 +01:00
Marius Bakke d922724521
gnu: gn: Update to 0.0-1666.6e5ba2e.
* gnu/packages/build-tools.scm (gn): Update to 0.0-1666.6e5ba2e.
[arguments]: Do not override LDFLAGS.
2019-11-15 19:09:13 +01:00
Ludovic Courtès faab7082ab
gnu: openmpi: Raise the priority of the PSM2 component.
This allows us to get better performance by default on machines with
OmniPath hardware.

* gnu/packages/patches/openmpi-psm2-priority.patch: New file.
* gnu/packages/mpi.scm (openmpi)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-11-15 17:52:45 +01:00
Ludovic Courtès 348caf3d2c
gnu: psm: Add "debug" output.
* gnu/packages/linux.scm (psm)[outputs]: New field.
2019-11-15 17:52:45 +01:00
Ludovic Courtès 58a536bb1b
gnu: openmpi, slurm: Switch to hwloc 2.x.
* gnu/packages/mpi.scm (openmpi)[inputs]: Switch to HWLOC-2.
* gnu/packages/parallel.scm (slurm)[inputs]: Likewise.
2019-11-15 17:52:45 +01:00
Ludovic Courtès 8c8e108978
gnu: hwloc: Update to 2.1.0.
* gnu/packages/mpi.scm (hwloc-2.0): Rename to...
(hwloc-2): ... this.  Update to 2.1.0
(hwloc-2.0): Define as deprecated.
* gnu/packages/opencl.scm (pocl)[inputs]: Adjust accordingly.
2019-11-15 17:52:45 +01:00