* 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>
* 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>
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/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.
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>
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.
* guix/import/cran.scm (string->license): Add more match clauses.
(string->licenses): Split license conjunctions at "|" and apply
string->license on each license.
(description->package): Use string->licenses.
In commit e4bf10ab0b, libnotify was removed
(and the removal documented). This led to desktop notifications no longer
popping up for received emails. Re-adding libnotify fixes this.
* gnu/packages/gnome.scm (evolution)[inputs]: Add libnotify.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for M106.
(%chromium-version): Set to 106.0.5249.61.
(%arch-revision): New variable.
(%ungoogled-origin): Update hash.
(%chromium-gcc-patchset): Update to chromium-106-patchset-3.
(%gcc-patches): Adjust accordingly.
(arch-patch): New procedure.
(%ungoogled-chromium-unroll-ffmpeg.patch): Remove variable.
(%reverse-patches): New variable.
(ungoogled-chromium-snippet): Apply %REVERSE-PATCHES instead of just the one.
(ungoogled-chromium): Update hash.
[arguments]: Adjust compiler flags and header inclusions.
* gnu/packages/cpp.scm (crc32c): New variable.
* gnu/packages/patches/crc32c-unbundle-googletest.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>