Previously, the image repository name was automatically computed from
the packages in the manifest without allowing the user to set a custom
one. As such, changing the packages in the manifest would result in a
new image name. Thereby requiring updating documentation et cetera when
using `docker load` directory on the resulting image.
Inspired by `docker build -t`, this commit adds a new Docker-specific
option to `guix pack` which allows setting a custom repository name for
the resulting image. If this option is not specified, pack falls back
to computing the name from the manifest. Therefore, this change is
entirely backwards compatible.
* guix/scripts/pack.scm (guix-pack): Add --image-tag option.
(%docker-format-options): New constant.
(show-docker-format-options): New procedure.
(show-docker-format-options/detailed): New procedure.
(docker-image): Allow setting a custom
repository name for the created docker image via extra-options.
* doc/guix.texi (Invoking guix pack)[docker]: Document --image-tag option.
Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu/packages/check.scm (guile-proba): Micro fix.
Guile Proba's CLI script, as created via Guix's `wrap-program', should take
into account (as opposed to discard) the original, user-defined values of
`GUILE_LOAD_PATH' and `GUILE_LOAD_COMPILED_PATH'.
Currently, Guile Proba's CLI script is unable to find any third-party library
needed by the app being tested. This micro change should fix this.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu/packages/pdf.scm (xournalpp): Update to 1.2.1.
[arguments]<#:configure-flags>: Replace "ENABLE_CPPUNIT" with "ENABLE_GTEST".
<#:phases>: Add a phase to build test files.
[native-inputs]: Add GOOGLETEST.
* gnu/services/cuirass.scm (<cuirass-remote-server-configuration>)[log-expiry]:
New field.
(cuirass-shepherd-service): Honor it.
* doc/guix.texi (Continuous Integration): Document it.
* gnu/packages/ci.scm (cuirass)[arguments]: Add (srfi srfi-1) and (ice-9
match) to #:modules. Rewrite ‘wrap-program’ phase to iterate over
INPUTS and select the subset that actually provides Guile modules.
* gnu/packages/patches/glibc-2.35-CVE-2023-4911.patch: New file.
* gnu/local.mk: Register it here.
* gnu/packages/base.scm (glibc/fixed): New variable.
(glibc): Use it as replacement.
This is a followup to d6d706a58b. The version
string is set separately to have the same length as curl for grafting and was
forgotten in the previous commit.
* gnu/packages/curl.scm (curl/fixed)[version]: Set to "8.4.0a" to match actual
version and length needed for grafting.
python-google-auth-1 doesn't self-test anymore. The tests depend on
`python-mock` (easy to fix) but also on an outdated version of
`python-cryptography`.
* gnu/packages/python-web.scm (python-google-auth-1)
(python-google-api-core-1): Remove.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/services/base.scm (<network-link>): Add mac-address field. Set
type field to #f by default, so it won't be mandatory. network-link
without a type will be used for existing interfaces.
(assert-network-link-mac-address, mac-address?): Add sanitizer. Allow
valid mac-address or #f.
(assert-network-link-type): Add sanitizer. Allow symbol or #f.
* gnu/services/base.scm (network-set-up/linux,
network-tear-down/linux): Adapt to new structure.
* doc/guix.texi (Networking Setup): Document it.
* gnu/tests/networking.scm (run-static-networking-advanced-test): New
variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>