In order to support more flexibility in Wireguard configuration, ungexp the
configuration fields directly instead of ungexp-splicing a sexp
calculator. This allows for the fields to take arbitrary gexps instead of only
strings which is particularly helpful for the Pre/Post Up/Down commands.
* gnu/services/vpn.scm (wireguard-configuration-file): Ungexp configuration
lists instead of ungexp-splicing the code surrounding them.
* doc/guix.texi (VPN Services)[wireguard]: Document it.
Change-Id: If074cbb78473b6fd34e0e4e990d2ed268001d6c7
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
The syntax from using the private-key field is more convenient than writing a
custom PreUp command (more formatting and preshared keys). Instead of trying
to guess if private-key is/is not a file path, add an option to disable
bootstrapping while still using private-key.
* gnu/services/vpn.scm (<wireguard-configuration>): Add
bootstrap-private-key?.
(wireguard-activation): Check bootstrap-private-key? before bootstrapping.
* doc/guix.texi (VPN Services)[wireguard]: Document it.
Change-Id: I6ba71ad58b26743057a221a54a246369022f83a5
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Users who retrieve the private-key via a PreUp field need to be able to
disable the default retrieval mechanism.
* gnu/services/vpn.scm (<wireguard-configuration>)[private-key]: Change
comment.
(wireguard-configuration-file): Conditionally serialize private-key.
* gnu/services/vpn.scm (wireguard-activation): Do not create private-key if
the field is #f.
* doc/guix.texi (VPN Services)[wireguard-configuration]: Document it.
Change-Id: Iac419809ae94eb76e97ff1f1749e2f4b3e65bb04
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Requires updating `libcotp` to 3.1.0, that introduced a new way for
testing that requires `criterium`, a package we don't have and that has
dependencies that we don't have either.
As the tests in `libcotp` are not an exhaustive testsuite and
`otpclient` is its only dependent package, tests are disabled for the
moment.
* gnu/packages/authentication.scm (libcotp): Update to 3.1.0
[arguments] Disable tests.
* gnu/packages/password-utils.scm (otpclient): Update to 4.0.2
Change-Id: Ie6d37b5efe59397d4979c7490b94f1c871c27d6d
java-jaxen was missing the dom4j and xom sub-packages. This was caused by
java-jaxen-bootstrap deleting the respective directories (which is okay) and
java-javen not removing the phase that does this.
Solve this by removing the #:phases argument for java-jaxen and thus make guix
use the default phases.
* gnu/packages/java-xml.scm (java-jaxen)[arguments]: Remove #:phases.
, making
* gnu/packages/rust.scm (make-rust-sysroot/implementation)
[native-inputs]: Combine the different modify-input branches into one.
Change-Id: Ia7df5d1566099f9934a76b2660f46a55547c88b9
* gnu/packages/rust.scm (make-rust-sysroot/implementation)[arguments]:
Adjust the custom 'patch-for-mingw phase to generate the name of the
mingw input package based on the target architecture.
[inputs, native-inputs]: Use make-mingw-w64 to choose the mingw package
for the target.
Change-Id: I48638095a504675753e65fdb6f0286c31cebde66
This partially reverts commit 877b925df1.
This part accidentally triggered a world rebuild for non-x86 architectures.
Change-Id: Iabc5422bb0e2bb37816ad437994af94d04830cb0
This partially reverts commit 204fe1b1f0.
This part accidentally triggered a world rebuild for non-x86 architectures.
Change-Id: I921984ef5eff58792ffc17b64675db6a8e79695c
This partially reverts commit ec8a5ec15f.
This part accidentally triggered a world rebuild for non-x86 architectures.
Change-Id: Id2f9bcbcda8dc86ea407e9a7857a854dc1a742b5
This reverts commit cd26d76fed. See discussion
at <https://issues.guix.gnu.org/74549>. Let's keep news.scm to direct user
impact/software (or at least not set a different precedent here).
Change-Id: I1a72474ad3c79bc59100979f35f0216f68f4e88e
* doc/contributing.texi(Sending a Patch Series): Add a note about
`git format-patch` revision format and link to git documentation.
Change-Id: Ie08f85dc19e3804165fb184664b74e85a804d7c4
* guix/import/cran.scm (import-pattern): Comment; capture direct namespace
imports as well as silent imports.
Change-Id: Ia54035d6f230d695aa950adb3e691cbce4f2d416
* gnu/packages/statistics.scm (r-httpgd)[arguments]: Disable tests.
[synopsis]: Use lower case and remove extraneous quotes.
Change-Id: I25e69987b6c647d14cc51ba01ba2fcfb1163c568