Commit graph

50420 commits

Author SHA1 Message Date
Clément Lassieur
1f15cbc80c
gnu: Add python-mcuboot-imgtool.
* gnu/packages/python-crypto.scm (python-mcuboot-imgtool): New variable.
2019-11-19 16:09:13 +01:00
Clément Lassieur
85cfb0e9e6
gnu: Add python-intelhex.
* gnu/packages/python-xyz.scm (python-intelhex): New variable.
2019-11-19 16:09:00 +01:00
Efraim Flashner
7b40d59114
doc: Fix typo in example.
* doc/guix.texi (Web Services)[nginx-php-fpm-location]: Fix example to
actually use nginx-php-fpm-location.
2019-11-19 12:34:07 +02:00
Ludovic Courtès
0d8a8234b5
gnu: hwloc: Adjust references to 'hwloc'.
This is a followup to 8ec7ca22d3, which
led to a stack overflow (cyclic graph) when attempting to build HWLOC-2.

* gnu/packages/mpi.scm (hwloc-2): Refer to HWLOC-1 instead of HWLOC.
2019-11-19 11:32:48 +01:00
Efraim Flashner
535a13a2ab
doc: Fix typo.
* doc/guix.texi (Web Services)[php-fpm-configuration]: Change language
to suggest there are more than two options.
2019-11-19 12:01:13 +02:00
Alexandros Theodotou
600f680dca
gnu: Add font-dseg.
* gnu/packages/fonts.scm (font-dseg): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-19 10:51:53 +01:00
Pierre Langlois
e30bb63c29
gnu: Add emacs-ample-theme.
* gnu/packages/emacs-xyz.scm (emacs-ample-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-19 10:51:53 +01:00
Ludovic Courtès
8ec7ca22d3
gnu: hwloc: Default to 2.x.
* gnu/packages/mpi.scm (hwloc): Rename to...
(hwloc-1): ... this.
(hwloc-2): Adjust 'inherit' clause accordingly.
(hwloc): New variable.
2019-11-19 10:51:53 +01:00
Ludovic Courtès
69f759912d
doc: Clarify the "system type" for 'machine-ssh-configuration'.
* doc/guix.texi (Invoking guix deploy): Replace "Nix system type" with
"system type" for consistency.
2019-11-19 10:51:53 +01:00
Ludovic Courtès
1bdb63e73b
deploy: Handle "--version".
* guix/scripts/deploy.scm (%options): Add "--version".
2019-11-19 10:51:53 +01:00
Ludovic Courtès
6fbd8fde2f
pull: Acquire a lock for the target profile.
This is a followup to b1fb663404.

* guix/scripts/pull.scm (guix-pull): Wrap 'run-with-store' call in
'with-file-lock/no-wait'.
2019-11-19 10:51:52 +01:00
Efraim Flashner
10e73bbc5e
gnu: spice-gtk: Build with vala support.
* gnu/packges/spice.scm (spice-gtk)[native-inputs]: Add vala.
[arguments]: Add '--enable-vala' to configure-flags.
2019-11-19 09:25:12 +02:00
Maxim Cournoyer
63edbb65e4
gnu: emacs-protobuf-mode: Rename the set-emacs-load-path phase.
This is a follow up commit to e1d31e6457.

* gnu/packages/protobuf.scm (emacs-protobuf-mode): Add the
change-working-directory phase before the add-source-to-load-path phase
instead of before the set-emacs-load-path phase.
2019-11-19 13:11:16 +09:00
Maxim Cournoyer
ffb2316548
gnu: emacs-erlang: Rename the set-emacs-load-path phase.
This is a follow up commit to e1d31e6457.

* gnu/packages/erlang.scm (emacs-erlang): Add the change-working-directory
phase before the add-source-to-load-path phase instead of before the
set-emacs-load-path phase.
2019-11-19 13:07:06 +09:00
Maxim Cournoyer
ed94123667
gnu: emacs-pdf-tools: Adapt phase name.
Follow up commit to c51d4c7746.

* gnu/packages/emacs-xyz.scm (emacs-pdf-tools): Add the emacs-install phase
after the emacs-add-source-to-load-path instead of after the
emacs-set-emacs-load-path phase.

Reported-by: Brett Gilio <brettg@posteo.net>
2019-11-19 12:58:54 +09:00
Maxim Cournoyer
418febb54f
gnu: emacs-scel: Fix build.
This is a follow up commit to e1d31e6457.

* gnu/packages/emacs-xyz.scm (emacs-scel): Fix build.
2019-11-19 12:55:04 +09:00
Maxim Cournoyer
1bb39982f1
gnu: emacs-realgud: Fix build.
This is a follow up commit to e1d31e6457.

* gnu/packages/emacs-xyz.scm (emacs-realgud): Fix build.
2019-11-19 12:44:00 +09:00
Maxim Cournoyer
c51d4c7746
gnu: emacs-pdf-tools: Fix build.
This is a follow up commit to e1d31e6457.

* gnu/packages/emacs-xyz.scm (emacs-pdf-tools): Fix build.
2019-11-19 12:37:17 +09:00
Maxim Cournoyer
b44357d02a
gnu: emacs-forge: Fix build.
This is a follow up commit to e1d31e6457.

* gnu/packages/emacs-xyz.scm (emacs-forge): Fix build.
2019-11-19 12:07:32 +09:00
Oleg Pykhalov
e26867f74b
gnu: tome4: Update to 1.6.1.
* gnu/packages/games.scm (tome4): Update to 1.6.1.
2019-11-19 00:07:40 +03:00
Guillaume Le Vaillant
900ef20b1d
linux-boot: Don't ignore options when mounting root file system.
Fixes <https://bugs.gnu.org/37977>.

* gnu/build/linux-boot.scm (mount-root-file-system): Add the 'options'
  keyword argument and use it when mounting the root file system.
  (boot-system): Pass the root file system options to
  'mount-root-file-system'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-11-18 12:18:42 +01:00
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