Commit graph

65612 commits

Author SHA1 Message Date
Ludovic Courtès
384377632c
system: Validate sudoers file when building the system.
Suggested by pkill9 <pkill9@runbox.com>.

* gnu/system.scm (validated-sudoers-file): New procedure.
(operating-system-etc-service): Use it.
2020-08-24 23:23:57 +02:00
Ludovic Courtès
0d203eeaa6
services: unattended-upgrade: Add 'operating-system-file' field.
* gnu/services/admin.scm (<unattended-upgrade-configuration>)[operating-system-file]:
New field.
(unattended-upgrade-mcron-jobs): Honor it.
* doc/guix.texi (Unattended Upgrades): Document it.
2020-08-24 23:23:57 +02:00
Maxim Cournoyer
54a87b2a0c
offload: Update help string.
* guix/scripts/offload.scm (guix-offload): Update help string.
2020-08-24 16:41:08 -04:00
Michael Rohleder
fd69aa524f
gnu: libvterm: Update to 0.1.4.
* gnu/packages/terminals.scm (libvterm): Update to 0.1.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-24 13:58:27 -04:00
Jakub Kądziołka
7ba7d50f92
guix upgrade: Allow using --do-not-upgrade.
* guix/scripts/upgrade.scm (%options): Add "do-not-upgrade" to list of
  options inherited from guix package.
2020-08-24 16:29:07 +02:00
Mathieu Othacehe
c88bccc14e
gnu: guix: Update to 1.1.0-19.0c50d72.
* gnu/packages/package-management.scm (guix): Update to 1.1.0-19.0c50d72.
2020-08-24 16:07:38 +02:00
Mathieu Othacehe
0c50d7231b
gnu: guile-lzlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-lzlib)[native-inputs]: Add "guile" when
cross-compiling.
2020-08-24 15:02:29 +02:00
Mathieu Othacehe
65777dce0f
gnu: guile-zlib: Fix cross-compilation.
* gnu/packages/guile.scm (guile-zlib)[native-inputs]: Add "guile" when
cross-compiling.
2020-08-24 15:01:38 +02:00
Mathieu Othacehe
4c0c65acfa
Use "guile-zlib" and "guile-lzlib" instead of (guix config).
* Makefile.am (MODULES): Remove guix/zlib.scm and guix/lzlib.scm,
(SCM_TESTS): remove tests/zlib.scm, tests/lzlib.scm.
* build-aux/build-self.scm (make-config.scm): Remove unused %libz variable.
* configure.ac: Remove LIBZ and LIBLZ variables and check instead for
Guile-zlib and Guile-lzlib.
* doc/guix.texi ("Requirements"): Remove zlib requirement and add Guile-zlib
and Guile-lzlib instead.
* gnu/packages/package-management.scm (guix)[native-inputs]: Add "guile-zlib"
and "guile-lzlib",
[inputs]: remove "zlib" and "lzlib",
[propagated-inputs]: ditto,
[arguments]: add "guile-zlib" and "guile-lzlib" to Guile load path.
* guix/config.scm.in (%libz, %liblz): Remove them.
* guix/lzlib.scm: Remove it.
* guix/man-db.scm: Use (zlib) instead of (guix zlib).
* guix/profiles.scm (manual-database): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/scripts/publish.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib),
(string->compression-type, effective-compression): do not check for zlib and
lzlib availability.
* guix/scripts/substitute.scm (%compression-methods): Do not check for lzlib
availability.
* guix/self.scm (specification->package): Add "guile-zlib" and "guile-lzlib"
and remove "zlib" and "lzlib",
(compiled-guix): remove "zlib" and "lzlib" arguments and add guile-zlib and
guile-lzlib to the dependencies, also do not pass "zlib" and "lzlib" to
"make-config.scm" procedure,
(make-config.scm): remove "zlib" and "lzlib" arguments as well as %libz and
%liblz variables.
* guix/utils.scm (lzip-port): Use (lzlib) instead of (guix lzlib) and do not
check for lzlib availability.
* guix/zlib.scm: Remove it.
* m4/guix.m4 (GUIX_LIBZ_LIBDIR, GUIX_LIBLZ_FILE_NAME): Remove them.
* tests/lzlib.scm: Use (zlib) instead of (guix zlib) and (lzlib)
instead of (guix lzlib), and do not check for zlib and lzlib availability.
* tests/publish.scm: Ditto.
* tests/substitute.scm: Do not check for lzlib availability.
* tests/utils.scm: Ditto.
* tests/zlib.scm: Remove it.
2020-08-24 13:35:24 +02:00
Tobias Geerinckx-Rice
5abbf435fc
gnu: nano: Update to 5.2.
* gnu/packages/nano.scm (nano): Update to 5.2.
2020-08-24 13:28:22 +02:00
Vinicius Monego
cb4ebb7f04
gnu: python-trytond-party: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-party): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:24:08 +02:00
Vinicius Monego
106dd72bc5
gnu: python-trytond-country: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-country): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:23:53 +02:00
Vinicius Monego
a5bdb72d69
gnu: python-proteus: Update to 5.6.0.
* gnu/packages/tryton.scm (python-proteus): Update to 5.6.0.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:57 +02:00
Vinicius Monego
d649704ebc
gnu: python-trytond: Update to 5.6.5.
* gnu/packages/tryton.scm (python-trytond): Update to 5.6.5.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:57 +02:00
Vinicius Monego
6de7e59f8b
gnu: tryton: Update to 5.6.3.
* gnu/packages/tryton.scm (tryton): Update to 5.6.3.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2020-08-24 13:22:55 +02:00
Michael Rohleder
cafde61d81
gnu: Add emacs-jq-mode.
* gnu/packages/emacs-xyz.scm (emacs-jq-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24 12:42:35 +02:00
Michael Rohleder
e1cab74a0b
gnu: Add ruby-kramdown-parser-gfm.
* gnu/packages/ruby.scm (ruby-kramdown-parser-gfm): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2020-08-24 12:38:48 +02:00
Mathieu Othacehe
afc3cd84d1
tests: Add a debug output to "fold-available-packages with/without cache".
This should help to debug test failures due to duplicated packages.

* tests/packages ("fold-available-packages with/without cache"): Print
duplicated packages.
2020-08-24 11:54:30 +02:00
Mathieu Othacehe
2f2dbde921
gnu: Remove duplicated linux-libre-arm64-generic-5.8.
This fixes a test failure in "fold-available-packages with/without cache".

* gnu/packages/linux.scm (linux-libre-arm64-generic-5.8): Remove it as it
duplicates linux-libre-arm64-generic.
2020-08-24 11:54:30 +02:00
Efraim Flashner
7bcc8004b1
gnu: scroll: Fix build.
* gnu/packages/haskell-apps.scm (scroll)[arguments]: Add custom phase to
add a place-holder file to the static output.
2020-08-24 12:03:29 +03:00
Mathieu Othacehe
e9f8a7e215
Use guile-zlib extension in build-side code.
* Makefile.am (MODULES): Move guix/build/download-nar.scm to ...
(MODULES_NOT_COMPILED): ... here.
* guix/build/download-nar.scm: Use (zlib) instead of (guix zlib).
* guix/cvs-download.scm (cvs-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
* guix/git-download.scm (git-fetch): Ditto.
* guix/hg-download.scm (hg-fetch): Do not stub (guix config) in imported
modules list, instead add "guile-zlib" to the extension list.
2020-08-24 10:41:06 +02:00
Tobias Geerinckx-Rice
c6872990b5
gnu: dovecot: Enable FTS stemming.
* gnu/packages/mail.scm (dovecot)[inputs]: Add libstemmer.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
cc82816416
gnu: python-parted: Update to 3.11.6.
* gnu/packages/disk.scm (python-parted): Update to 3.11.6.
(python2-parted): Drop unsupported Python 2 variant.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
56b4a1d53f
gnu: bind: Note that isc-dhcp bundles a BIND.
This follows up on commit dad963a439.

* gnu/packages/admin.scm (isc-bind): Comment.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
e5d9a7d405
gnu: xterm: Update to 359.
* gnu/packages/xorg.scm (xterm): Update to 359.
2020-08-24 04:36:52 +02:00
Tobias Geerinckx-Rice
747873e81b
gnu: evisum: Update to 0.5.3.
* gnu/packages/enlightenment.scm (evisum): Update to 0.5.3.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
5e9e232c84
gnu: xapian: Update to 1.4.17.
* gnu/packages/search.scm (xapian, python-xapian-bindings): Update to
1.4.17.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
a2765029c2
gnu: electrum: Fix share/ location.
* gnu/packages/finance.scm (electrum)[arguments]: Rename the ‘patch-home’
phase to ‘fix-prefix’.  Do so.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
44da87334d
gnu: electron-cash: Fix share/ location.
* gnu/packages/finance.scm (electron-cash)[arguments]: Drop bogus
‘local/share’ subdirectory: rename ‘patch-home’ to
‘create-output-directories’ and adjust body to match.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
110888f85f
gnu: electron-cash: Return #t from phases.
* gnu/packages/finance.scm (electron-cash)[arguments]: Return truth from
all phases.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
8ee3e4d9e9
gnu: electrum: Return #t from phases.
* gnu/packages/finance.scm (electrum)[arguments]: Return truth from
‘patch-home’.
2020-08-24 04:36:51 +02:00
Tobias Geerinckx-Rice
598afe95c3
gnu: wireguard-tools: Cross-compile.
* gnu/packages/vpn.scm (wireguard-tools)[arguments]: Use CC-FOR-TARGET.
2020-08-24 04:32:48 +02:00
Tobias Geerinckx-Rice
f4ba46a2df
gnu: wireguard-tools: Update to 1.0.20200820.
* gnu/packages/vpn.scm (wireguard-tools): Update to 1.0.20200820.
2020-08-24 04:32:48 +02:00
Brendan Tildesley
29f61501f3
gnu: ebook.scm: Remove duplicate module import.
Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-23 21:00:23 -04:00
Martin Becze
7afbaefea0
gnu: Added guile-srfi-145.
* gnu/packages/guile-xyz.scm (guile-srfi-145): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-23 17:36:06 -04:00
Alexey Abramov
9e2a49db8c
gnu: dovecot: Add lucene library to support fts indexing.
* gnu/packages/mail.scm (dovecot)[inputs]: Add ice4c, clucene.
[arguments]: Add --with-lucene configuration switch.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-08-24 00:19:27 +03:00
Martin Becze
e343816dcb
gnu: Add akku.
* gnu/packages/package-management.scm (akku): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2020-08-23 17:17:11 -04:00
Ludovic Courtès
d10474c38d
lint: formatting: Gracefully handle relative file names.
Fixes <https://bugs.gnu.org/42543>.
Reported by Jack Hill <jackhill@jackhill.us>.

* guix/lint.scm (check-formatting): Always return a list (previously we
would return #f when 'search-path' returns #f).  Check whether
LOCATION's file is a relative file name.  Return a warning if not.
* tests/guix-lint.sh: Add test.
2020-08-23 23:05:16 +02:00
Ludovic Courtès
68193624d1
lint: Avoid calls to 'package-field-location' with #f as the field.
* guix/lint.scm (%make-warning): Call 'package-field-location' only when
FIELD is true.
2020-08-23 23:05:16 +02:00
Oleg Pykhalov
a8c8f6fe91
gnu: emacs-bash-completion: Update to 3.1.0.
* gnu/packages/emacs-xyz.scm (emacs-bash-completion): Update to 3.1.0.
2020-08-23 19:36:58 +03:00
Tobias Geerinckx-Rice
509906c201
gnu: sane-backends-minimal: Update to 1.0.31.
* gnu/packages/scanner.scm (sane-backends-minimal): Update to 1.0.31.
[inputs]: Add libxml2.
2020-08-23 18:19:59 +02:00
Tobias Geerinckx-Rice
7e33054be8
gnu: parallel: Update to 20200822.
* gnu/packages/parallel.scm (parallel): Update to 20200822.
2020-08-23 18:19:57 +02:00
Oleg Pykhalov
045fb51efe
gnu: emacs-find-file-in-project: Update to 5.7.10.
* gnu/packages/emacs-xyz.scm (emacs-find-file-in-project): Update to 5.7.10.
2020-08-23 18:54:01 +03:00
Oleg Pykhalov
77a0bcacce
gnu: emacs-ghub: Update to 3.4.1.
* gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 3.4.1.
2020-08-23 14:23:20 +03:00
Oleg Pykhalov
825b2d95f4
gnu: emacs-lsp-ui: Update to 7.0.1.
* gnu/packages/emacs-xyz.scm (emacs-lsp-ui): Update to 7.0.1.
2020-08-23 13:49:24 +03:00
Oleg Pykhalov
3f2d2236cf
gnu: emacs-org-re-reveal: Update to 3.1.0.
* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.1.0.
2020-08-23 13:49:24 +03:00
Efraim Flashner
24cc25be89
gnu: python-rpy2: Update to 3.3.5.
* gnu/packages/statistics.scm (python-rpy2): Update to 3.3.5.
[source]: Add patches to fix test failures.
[arguments]: Adjust custom 'check phase.
2020-08-23 11:13:16 +03:00
Oleg Pykhalov
d0fc1e832c
doc: cookbook: Add chapter about Guix environment.
* doc/guix-cookbook.texi (Environment management): New chapter.
2020-08-23 10:47:35 +03:00
Tobias Geerinckx-Rice
dc12a37a0d
gnu: net-snmp: Update to 5.9 [fixes CVE-2019-20892].
* gnu/packages/networking.scm (net-snmp): Update to 5.9.
[inputs]: Add ncurses.
[native-inputs]: Add pkg-config.
2020-08-23 06:15:20 +02:00
Jakub Kądziołka
c9f01b73cb
gnu: sameboy: Update to 0.13.6.
* gnu/packages/emulators.scm (sameboy): Update to 0.13.6.
2020-08-22 23:47:18 +02:00