news: Add entry for '--with-source'.
* etc/news.scm: Add entry.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
transformations: '--with-source' now operates in depth.
The '--with-source' option is the first one that was implemented, and
it's the only one that would operate only on leaf packages rather than
traversing the dependency graph. This change makes it consistent with
the rest of the transformation options.
* guix/transformations.scm (evaluate-source-replacement-specs): New
procedure.
(transform-package-source): Rewrite using it.
* tests/transformations.scm ("options->transformation, with-source, no
matches"): Rewrite since we no longer get a warning.
("options->transformation, with-source, in depth"): New test.
* doc/guix.texi (Package Transformation Options): Adjust examples.
services: certbot: Create "live" directory during activation.
When trying to run certbot, the mcron command fails, as
/etc/letsencrypt/live is missing. This patch adds it into the certbot
activation service.
* gnu/services/certbot.scm (certbot-activation): Make /etc/letsencrypt/live.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add lite-xl.
* gnu/packages/text-editors.scm (lite-xl): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
import: print: Quasiquote properties
* guix/import/print.scm (package->code): Quasiquote properties.
* tests/print.scm (pkg-with-properties, pkg-with-properties-source):
New variables.
("package with properties"): New test
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
import/utils: alist->package: Include properties.
* guix/import/utils.scm (alist->package): Process properties field in input
data and include it in the generated package.
* tests/import-utils.scm ("alist->package with properties"): New test.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: shepherd: Leave the finalization thread in peace.
This gets rid of that (in)famous at boot time:
error in finalization thread: Success
This was caused by the file-descriptor closing loop, which would clause
the finalization pipe, leading the finalization thread to (erroneously)
error out.
Thanks to Josselin Poiret for locating the problem!
* gnu/services/shepherd.scm (shepherd-boot-gexp): In 'loop', replace
'close-fdes' with a pair of 'fcntl' calls to add FD_CLOEXEC.
gnu: Add emacs-cov.
* gnu/packages/emacs-xyz.scm (emacs-cov): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
gnu: Add emacs-elquery.
* gnu/packages/emacs-xyz.scm (emacs-elquery): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
gnu: emacs-popup: Update to 0.5.9.
* gnu/packages/emacs-xyz.scm (emacs-popup): Update to 0.5.9.
gnu: emacs-async: Update to 1.9.7.
* gnu/packages/emacs-xyz.scm (emacs-async): Update to 1.9.7.
services: Add file system utilities to profile.
* gnu/services/base.scm (file-system-type->utilities)
(file-system-utilities): New procedures.
(file-system-service-type): Extend 'profile-service-type' with
'file-system-utilities'.
* gnu/system.scm (boot-file-system-service): New procedure.
(operating-system-default-essential-services): Use it.
(%base-packages): Remove 'e2fsprogs'.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: icecat: Remove leftovers from version 91.
* gnu/packages/gnuzilla.scm (all-mozilla-91-locales, %icecat-91-version,
icecat-91-source): Remove variables.
gnu: icedove: Update to 102.3.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 102.3.0.
[source]: Use icecat-source again.
[arguments]: Remove `--frozen` flag from cargo invokation.
Remove `--with-user-appdir` flag (no longer honoured since TB91). Disable
WASM sandbox for now (needs more dependencies).
[inputs]: Add alsa-lib. Use icu4c-71.
[native-inputs]: Update hg-reference link. Use rust@1.59 and
rust-cbindgen@0.23.
gnu: Add gnome-shell-extension-unite-shell.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-unite-shell): New
variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add texlive-babel-czech.
* gnu/packages/tex.scm (texlive-babel-czech): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc: Tweak wsdd wording.
* doc/guix.texi (Samba Services)[Web Service Discovery Daemon]: Tweak
wording.
doc: Fix syntax for 'wsdd-configuration'.
* doc/guix.texi (Samba Services): Fix syntax of 'wsdd-configuration'
data type definition.
gnu: wpa-supplicant: Enable OWE support.
With OWE support users are enable to connect to "Opportunistic Wireless
Encryption" networks. This means users are able to have an encrypted
data channel in an otherwise open wireless network.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename
'configure-for-dbus' phase to 'set-config-options'. Set CONFIG_OWE=y.
Remove trailing #t.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
substitute: Retry downloading when a nar is unavailable.
Fixes <https://issues.guix.gnu.org/57978>
Reported by Attila Lendvai <attila@lendvai.name>.
Previously, if a narinfo was available but its corresponding nar was
missing (for instance because the narinfo was cached and the server
became unreachable in the meantime), 'guix substitute --substitute'
would try to download the nar from its preferred location and abort when
that fails. This change forces one retry with each of the URLs.
* guix/scripts/substitute.scm (download-nar): Do not catch
'http-get-error?' exceptions.
(system-error?, network-error?, process-substitution/fallback): New
procedures.
(process-substitution): Call 'process-substitution/fallback' upon
'network-error?'.
* tests/substitute.scm ("substitute, first URL has narinfo but lacks nar, second URL unauthorized")
("substitute, first URL has narinfo but nar is 404, both URLs authorized")
("substitute, first URL has narinfo but nar is 404, one URL authorized")
("substitute, narinfo is available but nar is missing"): New tests.