me
/
guix
Archived
1
0
Fork 0
Commit Graph

50499 Commits (142415b0c788a72626d45865ea2de1c41bcea8da)

Author SHA1 Message Date
Ludovic Courtès 0d78d0f09c
download: Load *.crt certificate bundles when *.pem files are missing.
Fixes <https://bugs.gnu.org/38254>.

* guix/build/download.scm (make-credendials-with-ca-trust-files): Look
for *.crt files under DIRECTORY when *.pem files cannot be found.
2019-11-18 12:17:32 +01:00
David Wilson 5544f1e3ea
gnu: emacs-eshell-z: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-eshell-z): Update to 0.4.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-11-18 09:59:22 +02:00
Mathieu Othacehe 4de11dda72
gnu: emacs-ccls: Propagate ccls.
* gnu/packages/emacs-xyz.scm (emacs-ccls)[propagated-inputs]: Add ccls.
2019-11-18 08:51:47 +01:00
Maxim Cournoyer 47b3b4c2aa
gnu: emacs: Adapt the autoloads auxiliary code to use EMACSLOADPATH.
The Elisp directories to scan for autoloads are now taken from EMACSLOADPATH
instead of from the user profile, environment profile or system profile.
Manually adding the Elisp directories to the `load-path' is no longer
necessary, as this is covered by Emacs when they are in EMACSLOADPATH.  The
caching logic is also removed, as this code is not typically run often and the
gain is marginal (loading autoloads files is cheap).

* gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-directory)
(guix-emacs-subdirs, guix-emacs-directories): Remove procedures.
(guix-emacs-find-autoloads): Filter the directory entries by passing the
regexp to `directory-files' directly, which is ten times faster.  Remove
deduplication.
(guix-emacs-autoloads-regexp): Remove the group, which used to filter out the
file extension; it no longer works this way due to passing the regexp to the
`directory-files' procedure directly, which doesn't care about groups.
(guix-emacs-autoload-packages): Update doc.  Search package directories from
EMACSLOADPATH.  Do not populate the load-path.  Remove cache.
2019-11-18 14:34:41 +09:00
Maxim Cournoyer e1d31e6457
build-system: emacs: Simplify the SET-EMACS-LOAD-PATH phase.
It is no longer necessary to search for the Elisp libraries manually, as Emacs
now include a search path specification serving that purpose.

* guix/build/emacs-build-system.scm (set-emacs-load-path): Replace by...
(add-source-to-load-path): ...this.
(%standard-phases): Adjust accordingly.
2019-11-18 14:34:40 +09:00
Maxim Cournoyer 215a45d9b8
gnu: emacs: Locate Elisp libraries via EMACSLOADPATH.
* gnu/packages/emacs.scm (emacs): Add a search path specification for
EMACSLOADPATH.
2019-11-18 14:34:40 +09:00
Maxim Cournoyer 67ed544212
vm: Honor the VOLATILE? parameter when producing a system disk image.
* gnu/system/vm.scm (system-disk-image): Honor the VOLATILE? parameter instead
of hard coding its value to #t.

Reported-by: Jelle Licht <jlicht@fsfe.org>
2019-11-18 14:07:12 +09:00
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