* gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.14.4.
[inputs]: Add gdk-pixbuf, use fuse@3.
[arguments]: Build without systemd, set HOME variable.
Fixes issue with lxd crashing on startup with:
Error: exec: "setfattr": executable file not found in $PATH
* gnu/packages/virtualization.scm (lxd)[arguments]: In 'install' phase,
add "attr" to the list of packages used in 'wrap-program'.
[inputs]: Add ATTR.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This file is no longer produced by our version of Dub.
* guix/build/dub-build-system.scm (build, check): Remove obsolete
substitutions.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* guix/build-system/dub.scm (default-ld-gold-wrapper): New procedure.
(lower): Add a LD-GOLD-WRAPPER to the keyword arguments, and to the
resulting bag's…
[build-inputs]: …build inputs.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This also fixes Dub's build, which was previously failing because of how
ancient it was.
* gnu/packages/dlang.scm (dub): Update to 1.23.0.
[arguments]: Set target CC & LD environment variables.
Invoke build.d. Don't explicitly return #t from phases.
[native-inputs]: Add d-tools and ld-gold-wrapper.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* gnu/packages/mail.scm (exim)[arguments]:
Rewrite as G-expressions. Make some surface tweaks to reduce
excessive indentation in places, but again the output is unchanged.
The package's output remains identical.
* gnu/packages/mail.scm (exim)[arguments]: Use SEARCH-INPUT-FILE or
PATCH-SHEBANG in place of ASSOC-REF for all inputs.
* gnu/packages/samba.scm: Import (guix licenses) with the "license:" prefix to
solve the conflict between the 'openssl' variables from (guix licenses) and
from (gnu packages tls). Adjust all license fields.
(ppp)[inputs]: Simplify list of inputs.
* gnu/packages/samba.scm (ppp)[arguments]: Use G-Expressions. Remove
unused substitution. Fix OpenSSL and libpcap include paths.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Now that configuration records use the 'sanitize' property for each
field, 'validate-configuration' has become useless because it's
impossible to construct an invalid configuration record.
* gnu/services/configuration.scm (validate-configuration): Remove.
* gnu/services/mail.scm (dovecot-service): Remove call.
* gnu/services/vpn.scm (openvpn-client-service)
(openvpn-server-service): Likewise.
* doc/guix.texi (Complex Configurations): Remove documentation.
Previously field type errors would be reported in a non-standard way,
and without any source location information. This fixes it.
* gnu/services/configuration.scm (configuration-field-error): Add a
'loc' parameter and honor it. Use 'formatted-message' instead of plain
'format'.
(define-configuration-helper)[field-sanitizer]: New procedure.
Use it. Use STEM as the identifier of the syntactic constructor of the
record type. Add a 'sanitize' property to each field. Remove now
useless STEM macro that would call 'validate-configuration'.
* gnu/services/mail.scm (serialize-listener-configuration): Adjust to
new 'configuration-field-error' prototype.
* tests/services/configuration.scm ("wrong type for a field"): New test.
* po/guix/POTFILES.in: Add gnu/services/configuration.scm.