Commit graph

104632 commits

Author SHA1 Message Date
Maxim Cournoyer
543d971ed2
services: configuration: Re-order generated record fields.
This is so that the first field of the generated record matches the first one
declared, which makes 'define-configuration' record API compatible with
define-record-type* ones.

* gnu/services/configuration.scm (define-configuration-helper): Move the
%location field below the ones declared by the user.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust match pattern
accordingly.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer
8f9588185d
news: Add entry for 'guix shell --symlink'.
* etc/news.scm: Add entry.
2022-11-15 14:40:53 -05:00
Maxim Cournoyer
b538ccc208
etc/news.scm: Normalize indentation.
* etc/news.scm: Normalize indentation.
2022-11-15 14:38:28 -05:00
Maxim Cournoyer
788602b37f
shell: Detect --symlink spec problems early.
* guix/scripts/pack.scm (symlink-spec-option-parser): Remove extraneous
char-set.  Raise an exception when the target is an absolute file name.
(guix-pack): Move with-error-handler earlier.
* guix/scripts/shell.scm (guix-shell): Likewise.
* guix/scripts/environment.scm (guix-environment): Wrap the whole
guix-environment* call with the with-error-handling handler.
* tests/guix-environment-container.sh: Add tests.
* tests/guix-pack.sh: Adjust symlink spec.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer
b31ea797ed
guix: shell: Add '--symlink' option.
* guix/scripts/pack.scm (%options): Extract symlink parsing logic to...
(symlink-spec-option-parser): ... here.
(self-contained-tarball/builder): Add a comment mentioning why a relative file
name is used for the link target.
* guix/scripts/environment.scm (show-environment-options-help): Document new
--symlink option.
(%default-options): Add default value for symlinks.
(%options): Register new symlink option.
(launch-environment/container): Add #:symlinks argument and extend doc, and
create symlinks using evaluate-populate-directive.
(guix-environment*): Pass symlinks arguments to launch-environment/container.
* doc/guix.texi (Invoking guix shell): Document it.
* tests/guix-shell.sh: Add a --symlink (negative) test.
* tests/guix-environment-container.sh: Add tests.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer
0bb872b379
install: Validate symlink target in evaluate-populate-directive.
* gnu/build/install.scm (evaluate-populate-directive): By default, error when
the target of a symlink doesn't exist.  Always ensure TARGET ends with "/".
(populate-root-file-system): Call evaluate-populate-directive with
 #:error-on-dangling-symlink #t and add comment.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer
8934827014
Makefile.am: Sort EXTRA_DIST entries.
* Makefile.am (EXTRA_DIST): Sort.
2022-11-15 14:15:10 -05:00
Efraim Flashner
45ae3c830f
gnu: Add rust-1.65.
* gnu/packages/rust.scm (rust-1.65): New variable.
2022-11-15 18:13:37 +02:00
Efraim Flashner
b4762e1e87
gnu: Add rust-1.64.
* gnu/packages/rust.scm (rust-1.64): New variable.
2022-11-15 18:13:37 +02:00
kiasoc5
9a27b61d37
gnu: Add rust-1.63.
* gnu/packages/rust.scm (rust-1.63): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:37 +02:00
kiasoc5
f0ccfcc0a7
gnu: Add rust-1.62.
* gnu/packages/rust.scm (rust-1.62): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:36 +02:00
kiasoc5
27237344d3
gnu: Add rust-1.61.
* gnu/packages/rust.scm (rust-1.61): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:36 +02:00
Marius Bakke
2f5607badc
gnu: libjxl: Propagate required inputs.
* gnu/packages/image.scm (libjxl)[inputs]: Move GOOGLE-BROTLI and
GOOGLE-HIGHWAY ...
[propagated-inputs]: ... here.
2022-11-15 13:09:04 +01:00
Tobias Geerinckx-Rice
d2b4226709
gnu: nano: Update to 7.0.
* gnu/packages/nano.scm (nano): Update to 7.0.
2022-11-13 01:00:06 +01:00
Tobias Geerinckx-Rice
ee1241fef6
gnu: fuzzel: Fix typo in description.
* gnu/packages/xdisorg.scm (fuzzel)[description]: Fix ‘foot’ typo.
2022-11-13 01:00:06 +01:00
Ludovic Courtès
5b555d639d
doc: Add missing closing parentheses in examples.
* doc/guix.texi (VNC Services, Guix Home Services): Add missing closing
parentheses.
2022-11-15 12:16:44 +01:00
pelzflorian (Florian Pelz)
fd13259d85
doc: Link to the Git book instead of the git-scm.com homepage.
The Pro Git book, unlike the git-scm.com homepage, is translated to
many languages.  Therefore translators of the Guix Manual can point
to the appropriate translation now.

* doc/guix.texi (Invoking guix pull): Point to the Pro Git book's URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:44 +01:00
Ludovic Courtès
0be722a0b5
doc: Build pt_BR manual.
* doc/build.scm (%manual-languages): Add "pt_BR".
2022-11-15 12:16:44 +01:00
pelzflorian (Florian Pelz)
8162d207b1
doc: Refer to the pt_BR translation.
* doc/guix.texi (Top): Mention Brazilian Portuguese.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:44 +01:00
kiasoc5
feaa52801a
gnu: Add fuzzel.
This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.

* gnu/packages/xdisorg.scm (fuzzel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:43 +01:00
Antero Mejr
7d1add80b2
gnu: Add safeint.
* gnu/packages/cpp.scm (safeint): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:43 +01:00
Ludovic Courtès
94dc60841b
installer: Migrate to 'guile-gnutls'.
* gnu/installer.scm (installer-program): Replace GNUTLS with GUILE-GNUTLS.
2022-11-15 12:16:43 +01:00
Ludovic Courtès
514fedbf39
installer: Report known-unsupported PCI devices.
* gnu/installer/hardware.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer.scm (installer-steps): Pass #:pci-database to the
'welcome' step procedure.
* gnu/installer/newt.scm (welcome-page): Add #:pci-database and pass it
to 'run-welcome-page'.
* gnu/installer/newt/welcome.scm (check-hardware-support): Add #:pci-database.
Enumerate unsupported PCI devices and run an error page when unsupported
devices are found.
(run-welcome-page): Add #:pci-database and pass it to
'check-hardware-support' and to the recursive call.
* gnu/installer/record.scm (<installer>)[welcome-page]: Adjust comment.
* doc/guix.texi (Hardware Considerations): Mention it.
2022-11-15 12:16:43 +01:00
Ludovic Courtès
6b39c3afcc
installer: Error page width is parameterized.
* gnu/installer/newt/page.scm (run-error-page): Add #:width and honor
it.
2022-11-15 12:16:43 +01:00
Ludovic Courtès
938d6161cb
installer: Use 'current-guix' for extensions.
This lets us use the latest (gnu build linux-modules) for instance.
Note that items listed in 'with-extensions' come first in the load path,
before the directory containing the modules in 'with-imported-modules'.

* gnu/installer.scm (installer-program): Use (current-guix) instead of
'guix' in 'with-extensions'.
2022-11-15 12:16:43 +01:00
Ludovic Courtès
afbd4d8470
linux-modules: Add 'load-pci-device-database'.
* gnu/build/linux-modules.scm (read-pci-device-database)
(load-pci-device-database): New procedures.
2022-11-15 12:16:43 +01:00
Ludovic Courtès
655fb8feac
linux-modules: Add support for listing PCI devices.
* gnu/build/linux-modules.scm (<pci-device>): New record type.
(pci-device-class-predicate, storage-pci-device?, network-pci-device?)
(display-pci-device?, pci-devices?): New procedures.
2022-11-15 12:16:42 +01:00
Ludovic Courtès
4f7ffb97a4
installer: Warn about hardware support after the welcome page.
This is a followup to 682639c107, which
added the uvesafb upfront, before welcome page had been displayed.

* gnu/installer/newt/welcome.scm (check-hardware-support): New
procedure.
(run-welcome-page): Use it.
2022-11-15 12:16:42 +01:00
James Smith
de61a0aa4a
gnu: slade: Update to 3.2.1.
* gnu/packages/game-development.scm (slade): Update to 3.2.1.
[arguments]: Use G-expressions.
[phases]: Remove reset-slade.pk3-timestamp phase.
[inputs]: Remove input labels. Add lua and mpg123. Replace wxwidgets-3.1
with wxwidgets.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
michaeldelago
3f58fbe34a
gnu: fzf: update to 0.34.0.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Update to
0.34.0.
[inputs]: Add go-github-com-rivo-uniseg, go-golang-org-x-term.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
jgart
d15373655b
gnu: python-bottle: Update to 0.12.23.
* gnu/packages/python-web.scm (python-bottle): Update to 0.12.23.
[native-inputs]: Add python-pytest.
[arguments]: Use pytest to call test suite.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
Sharlatan Hellseher
3775e997ba
gnu: python-mdurl: Enable tests.
* gnu/packages/python-xyz.scm (python-mdurl): Enable tests.
[source]: Use git checkout with tests.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:48 +02:00
Sharlatan Hellseher
153e7d8956
gnu: python-colorful: Enable tests.
* gnu/packages/python-xyz.scm (python-colorful): Enable tests.
[source]: Use git checkout which has tests.
[build-system]: Use pyproject-build-system.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:41 +02:00
Sharlatan Hellseher
d244282b69
gnu: Add cl-gss.
* gnu/packages/lisp-xyz.scm (ecl-cl-gss, cl-gss, sbcl-cl-gss): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-15 11:22:29 +01:00
Sharlatan Hellseher
3d09c03ea8
gnu: cl-radiance: Update to 2.1.2-2.a723783.
* gnu/packages/lisp-xyz.scm (sbcl-radiance): Update to 2.1.2-2.a723783.
  [native-inputs, inputs]: Remove labels.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-15 11:22:29 +01:00
jgart
c7422310ee
gnu: Add cl-wild-package-inferred-system.
* gnu/packages/lisp-xyz.scm (cl-wild-package-inferred-system,
  ecl-wild-package-inferred-system, sbcl-wild-package-inferred-system):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-15 11:22:29 +01:00
Ricardo Wurmus
02db3f51b7
gnu: Add r-disgenet2r.
* gnu/packages/bioinformatics.scm (r-disgenet2r): New variable.
2022-11-15 11:03:24 +01:00
dan
92af171860
gnu: virt-manager: Update to 4.1.0.
* gnu/packages/virtualization (virt-manager): Update to 4.1.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 11:09:15 +02:00
Csepp
c35b51f002
gnu: python-qtconsole: Use python-pyqt-without-webkit.
* gnu/packages/python-xyz.scm (python-qtconsole)[propagated-inputs]:
Use python-pyqt-without-qtwebkit.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 11:09:15 +02:00
kiasoc5
5ac20c9a25
gnu: copyq: Update to 6.3.2.
* gnu/packages/xdisorg (copyq): Update to 6.3.2.
[arguments]: Use g-expressions.
[inputs]: Add qtdeclarative-5, qtwayland-5, wayland, knotifications.
[native-inputs]: Add extra-cmake-modules, qttools-5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 10:59:04 +02:00
Efraim Flashner
587a0f4600
gnu: Add onedrive.
* gnu/packages/sync.scm (onedrive): New variable.
2022-11-15 10:08:00 +02:00
Efraim Flashner
02d82dedc8
gnu: torsocks: Add release-monitoring-url.
* gnu/packages/tor.scm (torsocks)[properties]: New field.
2022-11-15 10:03:53 +02:00
Efraim Flashner
717dba1c53
gnu: syncthing: Update release-monitoring-url.
* gnu/packages/syncthing.scm (syncthing)[properties]: Update
release-monitoring-url.
2022-11-15 10:03:53 +02:00
Efraim Flashner
de1bc72f04
gnu: mutt: Update to 2.2.9.
* gnu/packages/mail.scm (mutt): Update to 2.2.9.
2022-11-15 10:03:53 +02:00
Efraim Flashner
b1a72fd6b6
gnu: git-annex: Update to 10.20221103.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20221103.
2022-11-15 10:03:53 +02:00
Efraim Flashner
c666cc3fb9
gnu: moreutils: Add release-monitoring-url.
* gnu/packages/moreutils.scm (moreutils)[properties]: New field.
2022-11-15 10:03:52 +02:00
(unmatched-parenthesis
5f8a2a7a69
gnu: Add go-github-com-miolini-datacounter.
* gnu/packages/golang.scm (go-github-com-miolini-datacounter): New
  variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-15 02:08:41 -05:00
(unmatched-parenthesis
02824cda55
gnu: Add go-github-com-riywo-loginshell.
* gnu/packages/golang.scm (go-github-com-riywo-loginshell): New
  variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-11-15 01:24:28 -05:00
Ricardo Wurmus
2a58ddb6da
gnu: multipath-tools: Set prefix instead of DESTDIR.
This is necessary to avoid having multipath look for its plugins in /lib
instead of /gnu/store/...-multipath-tools-.../lib.

* gnu/packages/linux.scm (multipath-tools)[arguments]: Replace DESTDIR with
prefix in make flags; override configdir to look up stateful configurations in
global /etc directory.
2022-11-14 22:52:44 +01:00
Ricardo Wurmus
a570b4e1ee
gnu: multipath-tools: Enable parallel build.
* gnu/packages/linux.scm (multipath-tools)[arguments]: Remove parallel-build?
argument.
2022-11-14 22:52:44 +01:00