Commit graph

67973 commits

Author SHA1 Message Date
Ludovic Courtès 61263e1ba3
doc: Add "Build Utilities" section.
* doc/guix.texi (Build Utilities): New section.
(Defining Packages): Refer to it.
(Build Systems): Likewise.
* doc/guix-cookbook.texi (Extended example): Likewise.
2020-10-15 18:50:22 +02:00
Ludovic Courtès 5ef1508942
ui: Only suggest modules that export the unbound variable identifier.
Fixes <https://bugs.gnu.org/43498>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/ui.scm (known-variable-definition): Check for variables in the
public interface of HEAD, not in HEAD itself.
* tests/guix-build.sh: Add test.
2020-10-15 18:50:22 +02:00
Ludovic Courtès 48720afb32
doc: cookbook: Use @code for the identifiers of utility functions.
* doc/guix-cookbook.texi (Utility functions): Use @code instead of @asis.
2020-10-15 18:50:22 +02:00
Ludovic Courtès 3451368345
doc: cookbook: More "#true" and "#false".
* doc/guix-cookbook.texi (Extended example)
(Customizing the Kernel, Running Guix on a Linode Server): Use #true and #false.
2020-10-15 18:50:22 +02:00
Ludovic Courtès 51f34e21c6
doc: cookbook: Use @var for meta-syntactic variables.
* doc/guix-cookbook.texi (Extended example): Use @var for meta-syntactic
variables in 'modify-phases' description.
2020-10-15 18:50:22 +02:00
Ludovic Courtès 7802988201
doc: cookbook: Fix 'let' form in example.
* doc/guix-cookbook.texi (Extended example): Fix 'let' form in example.
2020-10-15 18:50:22 +02:00
Julien Lepiller 339177956a
gnu: dune: Update to 2.7.1.
* gnu/packages/ocaml.scm (dune): Update to 2.7.1.
(ocaml4.07-dune): Keep version 1.11.3.
(ocaml-result, ocaml-csexp): Use the bootstrap dune on dune
dependencies.
(ocaml-craml, ocaml-bitstring): Run "dune upgrade" before building.
2020-10-15 18:01:35 +02:00
Julien Lepiller 339c752d05
gnu: ocaml-4.07: Ensure build with ocaml4.7-dune.
* gnu/packages/ocaml.scm (ocaml4.07-gen, ocaml4.07-sedlex)
(ocaml4.07-ezjsonm, ocaml4.07-uri, ocaml4.07-charinfo-width)
(ocaml4.07-zed, ocaml4.07-lambda-term, ocaml4.07-utop)
(ocaml4.07-ppx-inline-test, ocaml4.07-earley, ocaml4.07-merlin)
(ocaml4.07-sexplib0, ocaml4.07-parsexp, ocaml4.07-sexplib)
(ocaml4.07-base, ocaml4.07-stdio, ocaml4.07-ppxlib, ocaml4.07-ppx-compare)
(ocaml4.07-fieldslib, ocaml4.07-variantslib, ocaml4.07-ppx-fields-conv)
(ocaml4.07-ppx-sexp-conv, ocaml4.07-ppx-variants-conv)
(ocaml4.07-ppx-custom-printf, ocaml4.07-bin-prot, ocaml4.07-ppx-hash)
(ocaml4.07-ppx-enumerate, ocaml4.07-ppx-bench, ocaml4.07-ppx-here)
(ocaml4.07-ppx-typerep, ocaml4.07-ppx-sexp-value, ocaml4.07-ppx-sexp-message)
(ocaml4.07-ppx-pipebang, ocaml4.07-ppx-optional, ocaml4.07-ppx-optcomp)
(ocaml4.07-ppx-let, ocaml4.07-ppx-fail, ocaml4.07-ppx-assert)
(ocaml4.07-ppx-expect, ocaml4.07-ppx-js-style, ocaml4.07-ppx-typerep-conv)
(ocaml4.07-ppx-base, ocaml4.07-ppx-bin-prot, ocaml4.07-ppx-jane)
(ocaml4.07-splittable-random, ocaml4.07-configurator, ocaml4.07-spawn)
(ocaml4.07-core, ocaml4.07-core-kernel)[arguments]: Use ocaml4.07-dune.
2020-10-15 18:01:27 +02:00
Julien Lepiller f2df5a4bb2
gnu: ocaml-jane-street-headers: Build only with OCaml 4.07.
* gnu/packages/ocaml.scm (ocaml-jane-street-headers): Rename to...
(ocaml4.07-jane-street-headers): ...to this.  Use OCaml 4.07.
2020-10-15 18:01:21 +02:00
Julien Lepiller c49b94a56c
gnu: ocaml-compiler-libs: Build only with OCaml 4.07.
* gnu/packages/ocaml.scm (ocaml-compiler-libs): Rename to...
(ocaml4.07-compiler-libs): ...to this.  Use OCaml 4.07.
2020-10-15 18:01:15 +02:00
Julien Lepiller 171abdd8f5
gnu: Add ocaml-csexp.
* gnu/packages/ocaml.scm (ocaml-csexp): New variable.
2020-10-15 18:01:05 +02:00
Julien Lepiller bc92fd22df
gnu: ocaml-result: Update to 1.5.
* gnu/packages/ocaml.scm (ocaml-result): Update to 1.5.
2020-10-15 18:01:00 +02:00
Julien Lepiller 01ec666e6c
gnu: ocaml-alcotest: Update to 1.0.0. 2020-10-15 18:00:53 +02:00
Julien Lepiller 0a86b93fae
gnu: ocaml-fmt: Update to 0.8.9.
* gnu/packages/ocaml.scm (ocaml-fmt): Update to 0.8.9.
2020-10-15 18:00:49 +02:00
Julien Lepiller 276be8f21c
gnu: ocaml-logs: Update to 0.7.0.
* gnu/packages/ocaml.scm (ocaml-logs): Update to 0.7.0.
2020-10-15 18:00:44 +02:00
Julien Lepiller bd2ad4a195
gnu: ocaml-base64: Update to 3.4.0.
* gnu/packages/ocaml.scm (ocaml-base64): Update to 3.4.0.
2020-10-15 18:00:28 +02:00
Julien Lepiller ef841e96b9
gnu: opam: Update to 2.0.7.
* gnu/packages/ocaml.scm (opam): Update to 2.0.7.
2020-10-15 18:00:21 +02:00
Julien Lepiller 32fd3e9c0b
gnu: ocaml-tyxml: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml-tyxml): Remove #:jbuild argument.
2020-10-15 18:00:18 +02:00
Julien Lepiller 0f1362f049
gnu: ocaml4.07-core: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml4.07-core): Remove #:jbuild argument.
2020-10-15 18:00:13 +02:00
Julien Lepiller 47ef85b588
gnu: ocaml4.07-ppx-expect: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml4.07-ppx-expect): Remove #:jbuild argument.
2020-10-15 18:00:10 +02:00
Julien Lepiller 1f4b40227c
gnu: ocaml4.07-merlin: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml4.07-merlin): Remove #:jbuild argument.
2020-10-15 18:00:08 +02:00
Julien Lepiller 3b90075a40
gnu: ocaml4.07-utop: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml4.07-utop): Remove #:jbuild argument.
2020-10-15 18:00:04 +02:00
Julien Lepiller 0a8eb6850d
gnu: ocaml4.07-zed: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml4.07-zed): Remove #:jbuild argument.
2020-10-15 18:00:01 +02:00
Julien Lepiller 8ff5f39a9f
gnu: ocaml-easy-format: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml-easy-format): Remove #:jbuild argument.
2020-10-15 17:59:56 +02:00
Julien Lepiller 2d00625f24
gnu: ocaml-lwt-log: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml-lwt-log): Remove #:jbuild argument.
2020-10-15 17:59:52 +02:00
Julien Lepiller 93304a0c89
gnu: ocaml-bitstring: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml-bitstring): Remove #:jbuild argument.
2020-10-15 17:59:48 +02:00
Julien Lepiller a8a8547abf
gnu: ocaml-qtest: Do not use deprecated jbuilder.
* gnu/packages/ocaml.scm (ocaml-qtest): Remove #:jbuild argument.
2020-10-15 17:59:44 +02:00
Julien Lepiller f0c6fe314f
gnu: ocaml-ppx-tools-versioned: Update to 5.4.0.
* gnu/packages/ocaml.scm (ocaml-ppx-tools-versioned): Update to 5.4.0.
2020-10-15 17:59:40 +02:00
Julien Lepiller bd8558a0e5
gnu: ocaml-migrate-parsetree: Update to 1.7.3.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Update to 1.7.3.
2020-10-15 17:59:37 +02:00
Julien Lepiller 7ae38a0479
gnu: ocaml-mccs: Update to 1.1+11.
* gnu/packages/ocaml-mccs: Update to 1.1+11.
2020-10-15 17:59:33 +02:00
Julien Lepiller 61949dbc8a
gnu: camlp5: Update to 7.13.
* gnu/packages/ocaml.scm (camlp5): Update to 7.13.
2020-10-15 17:59:25 +02:00
Julien Lepiller aea459a504
gnu: unison: Build with ocaml-4.09.
* gnu/packages/ocaml.scm (unison)[sources]: Add an upstream patch.
[native-inputs]: Use ocaml-4.09.
* gnu/packages/patches/unison-fix-ocaml-4.08.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-10-15 17:59:18 +02:00
Maxim Cournoyer 057a8868fb
gnu: libbacktrace: Correct license.
* gnu/packages/debug.scm (libbacktrace)[license]: Correct from expat to bsd-3.
2020-10-15 08:45:23 -04:00
Mathieu Othacehe b4369430e3
doc: Fix typo.
* doc/guix.texi (Guix Build Coordinator): Fix typo.
2020-10-15 14:16:19 +02:00
Raghav Gururajan 7269a59136
gnu: claws-mail: Change build-system.
* gnu/packages/mail.scm (claws-mail) [build-system]: Change from
gnu-build-system to glib-or-gtk-build-system.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-10-15 11:13:39 +02:00
Raghav Gururajan b168f2ba53
gnu: claws-mail: Make some cosmetic changes.
* gnu/packages/mail.scm (claws-mail): Make some cosmetic changes.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-10-15 11:13:37 +02:00
Efraim Flashner 6b793fa662
build-system/go: Install license files.
* guix/build/go-build-system.scm (install-license-files): New procedure.
(%standard-phases): Replace inherited 'install-license-files phase.
2020-10-15 11:13:25 +03:00
Efraim Flashner 4170af491c
install: Deduplicate packages with %base-package sets.
* gnu/system.scm (%base-packages-interactive): Add nvi.
* gnu/system/install.scm (installation-os)[packages]: Remove parted,
gptfdisk, ddrescue, cryptsetup, mdadm, dosfstools, btrfs-progs,
f2fs-tools, jfstools, openssh, wireless-tools, iw,
wpa-supplicant-minimal, iproute, bash-completion, nvi. Add
%base-packages-disk-utilities.
2020-10-15 11:13:24 +03:00
Efraim Flashner e6e076281e
system: Add %base-packages-disk-utilities.
* gnu/system.scm (%base-packages-disk-utilities): New variable.
2020-10-15 11:13:24 +03:00
Mathieu Othacehe 993b3af640
gnu: cuirass: Update to 0.0.1-53.df2d136.
* gnu/packages/ci.scm (cuirass): Update to 0.0.1-53.df2d136.
2020-10-15 10:06:33 +02:00
Efraim Flashner d623ece566
gnu: slurm: Re-arrange package inputs.
* gnu/packages/parallel.scm (slurm)[inputs]: Move expect, perl,
python-wrapper from here...
[native-inputs]: ... to here.
2020-10-15 10:39:33 +03:00
Ricardo Wurmus ec2a8f602e
gnu: mpd: Update to 0.22.
* gnu/packages/mpd.scm (mpd): Update to 0.22.
[arguments]: Use "enabled" instead of "true".
2020-10-15 08:38:04 +02:00
Efraim Flashner be0c94a378
gnu: nginx-lua-module: Use install-file.
* gnu/packages/web.scm (nginx-lua-module)[arguments]: Use 'install-file'
in custom 'install phase.
2020-10-15 09:13:07 +03:00
Oleg Pykhalov 00014f7692
services: nginx: Add lua module.
* gnu/services/web.scm (<nginx-configuration>)
[lua-package-path, lua-package-cpath]: New record types.
* gnu/services/web.scm (default-nginx-config): Use them.
* doc/guix.texi (Web Services): Document this.
* doc/guix-cookbook.texi (System Configuration): Document this.
2020-10-14 23:41:26 +03:00
Oleg Pykhalov e835c03e44
gnu: Add nginx-lua-module.
* gnu/packages/web.scm (nginx-lua-module): New variable.
2020-10-14 23:41:26 +03:00
Oleg Pykhalov 4b0e08beb2
gnu: Add nginx-socket-cloexec.
* gnu/packages/patches/nginx-socket-cloexec.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add this.
* gnu/packages/web.scm (nginx-socket-cloexec): New variable.
2020-10-14 23:41:26 +03:00
Oleg Pykhalov 89c4122ec9
gnu: Add lua-resty-shell.
* gnu/packages/lua.scm (lua-resty-shell): New variable.
2020-10-14 23:41:26 +03:00
Oleg Pykhalov 0100fd06c9
gnu: Add lua-tablepool.
* gnu/packages/lua.scm (lua-tablepool): New variable.
2020-10-14 23:41:25 +03:00
Oleg Pykhalov 8688fd8fa1
gnu: Add lua-resty-signal.
* gnu/packages/lua.scm (lua-resty-signal): New variable.
2020-10-14 23:41:25 +03:00
Oleg Pykhalov 1263bd0dbf
gnu: Add lua-resty-lrucache.
* gnu/packages/lua.scm (lua-resty-lrucache): New variable.
2020-10-14 23:41:25 +03:00