Fixes a bug whereby ‘guix locate’ would pick the system database, then
decide it’s too old, try to update it, and fail because it’s not
writable by unprivileged users.
Fixes <https://issues.guix.gnu.org/66612>.
* guix/scripts/locate.scm (file-age): New procedure.
(suitable-database): Add ‘age-update-threshold’ parameter and honor it.
(guix-locate): Remove ‘file-age’. Pass ‘age-update-threshold’ to the
‘database’ option.
Reported-by: Matt Wette <matt.wette@gmail.com>
* gnu/packages/admin.scm (isc-dhcp)[arguments]: Adjust the custom
'fix-bind-cross-compilation phase to force linking with '-latomic' when
building for powerpc-linux.
* 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>
* gnu/packages/astronomy.scm (indi-2.0): New variable.
(indi-1.9): New variable. Inherited from indi-2.0.
(indi): Set it to use indi-1.9 as default, as Stellarium and PHD2 are
still depended on 1.9 and fail with Indi 2.0+.
See: https://github.com/Stellarium/stellarium/issues/3038
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-stpipe): Update to 0.5.1.
[arguments]{test-flags}: Disable on failing test.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-stdatamodels): Update indentation
to improve readability of the package.
[description]: Add TexInfo styling bits.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-stcal): Update indentation to
improve readability of the package.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-drizzle): Update package style,
indent and align regions.
[arguments]{test-flags}: Remove them as all tests are passed
successfully.
[native-inputs]: Remove python-coverage, python-pytest-cov.
[description]: Indent region.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-jplephem)[build-system]: Shift to
pyproject-build-system.
[arguments]: Use G-expressions. Simplify 'check phase.
[description]: Extend it with more details.
Signed-off-by: Christopher Baines <mail@cbaines.net>