me
/
guix
Archived
1
0
Fork 0
Commit Graph

94563 Commits (848a5f084da7fb8b67c3a79b3e6d536490126fa3)

Author SHA1 Message Date
itd b0d3f42372
gnu: efivar: Fix build errors on i686-linux.
* gnu/packages/patches/efivar-211.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (efivar)[source]<origin>: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:40 +02:00
Andrew Tropin d6b9a3faa8
home: symlink-manager: Use no-follow version of file-exists?.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Use
no-follow version of file-exists?.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-10 00:17:40 +02:00
Ludovic Courtès eeb8ac43c8
services: shepherd: Do not unload transient services.
Fixes <https://issues.guix.gnu.org/54812>.

Starting with Shepherd 0.9.0 and the use of 'make-inetd-constructor' in
commit 808b9e8504, systems might be
running transient Shepherd services such as those corresponding to SSH
connections.  Before this change, 'shepherd-service-upgrade' would have
those transient services in the list of services to unload; concretely,
that would lead all SSH connections to be closed upon 'guix system
reconfigure'.

* gnu/services/shepherd.scm (shepherd-service-upgrade): Remove transient
services to TO-UNLOAD.
2022-04-10 00:17:40 +02:00
Ludovic Courtès a2c759c830
services: herd: Report whether a service is transient.
* gnu/services/herd.scm (<live-service>)[transient?]: New field.
(current-services): Check the value of 'transient?'.  Call
'resolve-transients'.
(resolve-transients): New procedure.
2022-04-10 00:17:40 +02:00
Marius Bakke 975966ba09
gnu: Zabbix: Update to 6.0.3.
* gnu/packages/monitoring.scm (zabbix-agentd): Update to 6.0.3.
2022-04-09 16:09:50 +02:00
Marius Bakke aa5716703f
gnu: ganeti: Update to 3.0.2.
* gnu/packages/patches/ganeti-haskell-compat.patch,
gnu/packages/patches/ganeti-sphinx-compat.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (ganeti): Update to 3.0.2.
[source](patches): Remove obsolete.
[arguments]: Remove obsolete phases.  Disable one more test.
2022-04-09 14:27:43 +02:00
Marius Bakke dce0249f18
gnu: ganeti: Fix test failure with PyYAML 6.0.
This fixes a regression that was introduced in
27720d0fe1.

* gnu/packages/patches/ganeti-pyyaml-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/virtualization.scm (ganeti)[source](patches): Add it.
2022-04-09 14:27:43 +02:00
Vagrant Cascadian 47b6451eb5
gnu: libxmlb: Update to 0.3.8.
* gnu/packages/xlm.scm (libxmlb): Update to 0.3.8.
2022-04-08 20:34:49 -07:00
Vagrant Cascadian a720c900cc
gnu: reprotest: Update to 0.7.20.
* gnu/packages/diffoscope.scm (reprotest): Update to 0.7.20.
2022-04-08 15:32:34 -07:00
Vagrant Cascadian 55b5ad2eeb
gnu: diffoscope: Update to 209.
* gnu/packages/diffoscope.scm (diffoscope): Update to 209.
2022-04-08 15:32:31 -07:00
Ludovic Courtès 0996d48d0e
services: rottlog: Keep fewer "guix-daemon.log" files.
* gnu/services/admin.scm (%default-rotations): For "guix-daemon.log",
add 'options' field.
2022-04-09 00:30:40 +02:00
Ludovic Courtès 090ebc5ff9
guix describe: Add missing import.
Fixes a regression introduced in
d4e858763c.

* guix/scripts/describe.scm: Add missing autoload.
2022-04-09 00:29:24 +02:00
Ludovic Courtès 13307c198b
diagnostics: Turn diagnostic locations into hyperlinks.
* guix/diagnostics.scm (print-diagnostic-prefix): Use
'location->hyperlink' when 'supports-hyperlinks?' returns true.
2022-04-08 23:59:48 +02:00
Ludovic Courtès 3da62bf5aa
ui: Move 'location->hyperlink' to (guix diagnostics).
* guix/ui.scm (location->hyperlink): Move to...
* guix/diagnostics.scm: ... here.
* guix/scripts/system/search.scm: Adjust imports accordingly.
2022-04-08 23:59:48 +02:00
Ludovic Courtès d4e858763c
ui: Move hyperlink facilities to (guix colors).
* guix/ui.scm (supports-hyperlinks?, file-hyperlink, hyperlink): Move to...
* guix/colors.scm: ... here.
* guix/scripts/home.scm, guix/scripts/system.scm,
guix/scripts/system/search.scm: Adjust imports accordingly.
2022-04-08 23:59:48 +02:00
Olivier Dion a62873af7c
gnu: emacs-geiser: Add dependency on Project.
* gnu/packages/emacs-xyz.scm (emacs-geiser)[propagated-inputs]: Add
emacs-project.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-08 23:59:48 +02:00
Brian Kubisiak 1d0e57fab8
gnu: lsof: Fix invalid G-Expression.
Cross-compiling lsof is failing with an "invalid G-expression input"
error. Fix this by using a quoted list.

* gnu/packages/lsof.scm (lsof): Fix invalid G-Expression.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-08 23:59:48 +02:00
Ludovic Courtès b38e053513
doc: Build an empty index if the manual is missing.
That way, the "sk" index for 'guix-manual' is empty, because
'guix-manual' lacks an "sk" translation.

* doc/build.scm (html-manual-identifier-index)[build](html-files):
Gracefully handle 'scandir' returning #f.
2022-04-08 23:59:48 +02:00
Ludovic Courtès 0d0e2165ea
doc: Allow different translations for 'guix-cookbook' and 'guix-manual'.
Previously, 'guix-manual-text-domain' could be passed the cookbook
language list as its second argument.  Thus, it started failing when the
set of cookbook languages was no longer a subset of the manual
languages, starting with commit
93bfd4d9c7, which removed "sk" from
'guix-manual' but kept it for 'guix-cookbook'.

* doc/build.scm (%manual-languages, %cookbook-languages): New
variables.
(%languages): Use them.
(guix-manual-text-domain): Give LANGUAGES a valid default value.
(localization-helper-module): Remove optional argument to
'guix-manual-text-domain'.
2022-04-08 22:56:02 +02:00
Andrew Tropin 20645d8467
home: Add home-xdg-data-files-service-type.
* gnu/home/services.scm (home-xdg-data-files-service-type): New variable.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Add a proper
handling for XDG_DATA_HOME value.
* gnu/home/services/xdg.scm (home-xdg-mime-applications-service-type): Use
home-xdg-data-files service.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-08 20:13:48 +02:00
Andrew Tropin 5832d9fb60
home: symlink-manager: Remove appending of leading dot.
* gnu/home/services.scm (xdg-configuration-files-directory): Add leading dot.
* gnu/home/services.scm (xdg-configuration-files-service-type): Change name.
* gnu/home/services/shells.scm (add-shell-profile-file,
zsh-get-configuration-files, add-zsh-dot-configuration,
add-zsh-xdg-configuration, add-bash-configuration): Add leading dots.
* gnu/home/services/symlink-manager.scm (update-symlinks-script): Remove
leading dot.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-04-08 20:13:45 +02:00
Ludovic Courtès 868da34d54
doc: Fix cookbook URLs in htmlxref.cnf.
Reported by Greg Hogan <code@greghogan.com>.

* doc/htmlxref.cnf (GUIX_ROOT): New variable.
(GUIX, GUIX_COOKBOOK): Adjust.
2022-04-08 19:59:25 +02:00
Ludovic Courtès 6e747c3d50
doc: cookbook: Fix cross-reference to SICP.
Reported by Greg Hogan <code@greghogan.com>.

* doc/guix-cookbook.texi (A Scheme Crash Course): Fix xref to SICP.
2022-04-08 19:55:42 +02:00
Ludovic Courtès 63a11f92d1
doc: cookbook: Fix cross-reference to the manual.
Reported by Greg Hogan <code@greghogan.com>.

* doc/guix-cookbook.texi (Extended example): Fix node name in xref to
"package Reference".
2022-04-08 19:55:37 +02:00
Ludovic Courtès f239b9d788
tests: Add "encrypted-home-os" installation test.
* gnu/tests/install.scm (%encrypted-home-os)
(%encrypted-home-installation-script)
(enter-luks-passphrase-for-home)
(%test-encrypted-home-os): New variables.
2022-04-08 18:14:35 +02:00
Ludovic Courtès dcb0e54a4f
file-systems: Invoke fsck tools with 'system*/tty'.
This ensures those programs, if invoked by shepherd (where standard
input is /dev/null), can still interact with the user if needed.

* gnu/build/file-systems.scm (check-ext2-file-system)
(check-bcachefs-file-system, check-btrfs-file-system):
(check-fat-file-system, check-jfs-file-system):
(check-f2fs-file-system, check-ntfs-file-system):
(check-xfs-file-system): Use 'system*/tty' instead of 'system*'.
2022-04-08 18:14:35 +02:00
Ludovic Courtès 931f13840b
mapped-devices: Ensure 'cryptsetup open' gets a tty.
Fixes <https://issues.guix.gnu.org/54770>.
Regression introduced in 400c9ed3d7.

Previously, for an encrypted /home (say), "cryptsetup open" would be
invoked by shepherd, with /dev/null as its standard input.  It would
thus run in non-interactive mode and, instead of asking for a
passphrase, fail with:

  Nothing to read on input.

This change ensures it runs in interactive mode.

* gnu/build/file-systems.scm (system*/console, system*/tty): New
procedures.
* gnu/system/mapped-devices.scm (open-luks-device): Use 'system*/tty'
instead of 'system*'.
2022-04-08 18:14:35 +02:00
Ludovic Courtès df473496ed
system: hurd: Fix bogus 'initrd-modules' field.
Reported by kitzman on #guix.

* gnu/system/hurd.scm (%hurd-default-operating-system)[initrd-modules]:
Set to the empty list.
2022-04-08 18:14:35 +02:00
Ludovic Courtès 20691c70cf
tests: 'guix shell --export-manifest' test no longer needs networking.
* tests/guix-shell-export-manifest.sh: Use '--with-input' rather than
'--with-latest' as the latter would crash in the absence of network
access.
2022-04-08 18:14:35 +02:00
Jonathan Brielmaier 09ec1d6561
gnu: icedove: Update to 91.8 [fixes CVE-2022-1197].
* gnu/packages/gnuzilla.scm (icedove): Update to 91.8.
2022-04-08 16:00:23 +02:00
jgart 96bd801780
gnu: Add cl-jzon.
* gnu/packages/lisp-xyz.scm (cl-jzon, ecl-jzon, sbcl-jzon): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 10:03:58 +02:00
jgart b67c67b027
gnu: cl-cffi: Remove trailing boolean.
* gnu/packages/lisp-xyz.scm (sbcl-cffi)[arguments]: Remove trailing boolean.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 09:53:37 +02:00
jgart 9919e423a7
gnu: cl-legit: Update to 1.0.0-2.5f8a2d4.
* gnu/packages/lisp-xyz.scm (sbcl-legit): Update to 1.0.0-2.5f8a2d4 and use
  revision variable in let block.
  [arguments]: Add 'patch-git-executable' phase.
  [inputs]: Add formatting and add missing git input.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-08 09:50:53 +02:00
Marius Bakke 1d4f2cdc82
gnu: nginx: Build optimized binaries.
* gnu/packages/web.scm (nginx)[arguments]: Add "-O2 -g" to CFLAGS.
2022-04-07 23:12:44 +02:00
Marius Bakke c9ce02ecff
gnu: nginx: Respect #:configure-flags.
* gnu/packages/web.scm (nginx)[arguments]: Add #:configure-flags.  Move
default settings out of the 'configure' phase.
2022-04-07 23:12:44 +02:00
Marius Bakke 4079cd9ba3
gnu: nginx: Use G-expressions.
* gnu/packages/web.scm (nginx)[arguments]: Rewrite in gexp style.  Remove
trailing #t's.
2022-04-07 23:12:44 +02:00
Marius Bakke cee03495bf
gnu: uBlock Origin: Update to 1.42.4.
* gnu/packages/browser-extensions.scm (ublock-origin): Update to 1.42.4.
2022-04-07 23:12:44 +02:00
Marius Bakke 0b3f52051b
gnu: ungoogled-chromium: Update to 100.0.4896.75-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 100.
(%chromium-version): Set to 100.0.4896.75.
(%debian-revision): Set to debian/100.0.4896.60-1.
(%ungoogled-origin): Update hash.
(%debian-patches): Updates hashes.  Remove obsolete.
(ungoogled-chromium): Update hash.
[arguments]: Remove obsolete substitution.  Patch libvulkan.so.1 in more
files, and add absolute reference to Mesa ICDs.
2022-04-07 23:12:44 +02:00
Marius Bakke 8e8b8ffdee
gnu: ungoogled-chromium: Update to 99.0.4844.84-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for 99.
(%chromium-version): Set to 99.0.4844.84.
(%ungoogled-origin): Update hash.
(ungoogled-chromium): Likewise.
[arguments]: Patch absolute file names to GTK libraries.  Patch one more
Opus header inclusion.  Remove labels in wrapping phase.
[native-inputs]: Change from CLANG-13 to CLANG-14.
[inputs]: Add AT-SPI2-ATK.
2022-04-07 23:12:44 +02:00
Marius Bakke e9473ed49b
gnu: LLVM, Clang: Add 14.0.0.
* gnu/packages/llvm.scm (%llvm-monorepo-hashes, %llvm-patches, llvm-monorepo):
New variables.
(clang-runtime-from-llvm): Make HASH optional; use monorepo when not present.
(clang-from-llvm): Likewise.
(llvm-14, clang-runtime-14, clang-14, clang-toolchain-14, lld-14): New variables.
(llvm-13): Inherit from LLVM-14.
(lld-13): Inherit from LLD-14.
(lld): Turn into alias for LLD-14.
* gnu/packages/patches/clang-14.0-libc-search-path.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/zig.scm (zig): Change from LLD to LLD-13.
2022-04-07 23:12:44 +02:00
Marius Bakke 4e4a79601c
gnu: radeontop: Simplify inputs.
* gnu/packages/linux.scm (radeontop)[native-inputs]: Simplify.
2022-04-07 23:12:44 +02:00
Malte Frank Gerdes b749329888
gnu: Add cura.
* gnu/packages/engineering.scm (cura): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Guillaume Le Vaillant 4926c10476
gnu: Add python-pynest2d.
* gnu/packages/engineering.scm (python-pynest2d): New variable.
2022-04-07 22:32:01 +02:00
Guillaume Le Vaillant ace3a7ad89
gnu: Add libnest2d-for-cura.
* gnu/packages/engineering.scm (libnest2d-for-cura): New variable.
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes 21594c06b1
gnu: Add libsavitar.
* gnu/packages/engineering.scm (libsavitar): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes 79b50d5d5b
gnu: Add libcharon.
* gnu/packages/engineering.scm (libcharon): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes f14d43b367
gnu: Add uranium.
* gnu/packages/engineering.scm (uranium): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 22:32:01 +02:00
Malte Frank Gerdes b4b93035c1
gnu: Add python-trimesh.
* gnu/packages/python-science.scm (python-trimesh): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 18:35:38 +02:00
Malte Frank Gerdes 504dd8b696
gnu: Add python-pyinstrument.
* gnu/packages/python-check.scm (python-pyinstrument): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 18:35:38 +02:00
Malte Frank Gerdes 8d2493dda1
gnu: Add cura-binary-data.
* gnu/packages/engineering.scm (cura-binary-data): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-04-07 15:54:02 +02:00