Commit 79ec651a28 introduced a check to
error out when attempting to use ‘time-machine’ to travel to a commit
before ‘v1.0.0’.
This commit fixes a performance issue with the strategy used in
79ec651a28 (the repository was opened,
updated, and traversed a second time by ‘validate-guix-channel’) as well
as a user interface issue (“Updating channel” messages would be printed
too late).
This patch reimplements the check in terms of the existing #:validate-pull
mechanism, which is designed to avoid extra repository operations.
Fixes <https://issues.guix.gnu.org/65788>.
* guix/inferior.scm (cached-channel-instance): Change default value
of #:validate-channels. Remove call to VALIDATE-CHANNELS; pass it
as #:validate-pull to ‘latest-channel-instances’.
* guix/scripts/time-machine.scm (%reference-channels): New variable.
(validate-guix-channel): New procedure, written as a simplification of…
(guix-time-machine)[validate-guix-channel]: … this. Remove.
Pass #:reference-channels to ‘cached-channel-instance’.
Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I9b0ec61fba7354fe08b04a91f4bd32b72a35460c
The test as added in 79ec651a28 had no
effect: first because ‘guix time-machine --commit=X’, not followed by a
command, does nothing, and second because the “! COMMAND” shell stanza
does not have the desired effect (see <https://issues.guix.gnu.org/62406>).
This change rewrites the test to make it effective.
* tests/guix-time-machine.sh: Rewrite.
Change-Id: Ib44a11331c8625e346139a236cffa699cdbd02f2
* gnu/packages/networking.scm (phantomsocks): Update to
0.0.0-20231031033204-8b0ac27fc450.
[arguments]<#:go>: Use go-1.20.
Change-Id: I8cee734d5582c99b7940591ba14fba927992a201
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (python-asdf-3.0): New variable, migrated
from python-asdf.
[arguments]: Move it from here ...
[native-inputs]: Remove python-astronomy, python-pytest-openfiles.
[propagated-inputs]: Add python-attrs. Remove
python-importlib-resources, python-jsonschema.
(python-asdf-2.15): New variable. Inherited from python-asdf-3.0.
[arguments]: ... to here.
(python-asdf): Set it to use python-asdf-2.15 as 3.0.0 includes some
breaking changes which may not testes in dependent projects.
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (imppg): Use G-expressions.
[arguments]{phases}: Use 'configure standard phase instead of
replacement.
Signed-off-by: Christopher Baines <mail@cbaines.net>
[1] indicates that [2] is the new _distribution_ upstream for Noto fonts.
[1]: <https://github.com/notofonts/noto-fonts>
[2]: <https://github.com/notofonts/notofonts.github.io>
* gnu/packages/fonts.scm (font-google-noto): Update to 23.11.1.
[source]<method>: Switch to git-fetch.
Change-Id: I242710336ec81489f9800b68416f45c57d28b2bd
Signed-off-by: Christopher Baines <mail@cbaines.net>
The contributing documentation makes a reference to dunst.scm as an example of
the build process failing after an update. This patch replaces that reference
with a much more permanent linux.scm.
* doc/contributing.texi: Replace reference to dunst.scm.
Change-Id: I89a4157eb253e25979bc35d6d3b12201a0d19951
Signed-off-by: Christopher Baines <mail@cbaines.net>
The dunst package is much beter suited to be in wm.scm. This patch deletes
dunst.scm, moves dunst to wm.scm, and removes dunst.scm from the build
process.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove dunst.scm.
* gnu/packages/dunst.scm: Delete file.
* gnu/packages/wm.scm (dunst): New variable.
Change-Id: I3b074f12f34e14ef1101069ed45ddb33f8d3ea51
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/dunst.scm (dunst): Update to 1.9.2.
[arguments]: Use gexps.
Change-Id: Ic13f1679074462918991a1ceba8571a46e721224
Signed-off-by: Christopher Baines <mail@cbaines.net>
By using go-to-location which caches the number of bytes to seek by to get to
specific lines in a file.
* guix/lint.scm (report-formatting-issues): Use go-to-location.
Change-Id: I34e4d3acfbb1e14e026d2e7f712ba8d22b56c147
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/java.scm (icedtea-7)[arguments]: Adjust custom
'install-libjvm phase to add support for powerpc-linux.
Change-Id: Ie77a2b53fdef1e0ddc0351e6c2d0241d08b80508
This is a followup to commit e672066097.
* gnu/packages/linux.scm (deblob-scripts 5.10): Update hash.
Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I0fe56dd2694185b6c77468ecc844aaf25ec7564a
This is a followup to commit b26526ea05.
* gnu/packages/linux.scm (deblob-scripts 5.15): Update hash.
Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: Ia59003f2ccfe98e2390593d1ca0b7077f0b7bd5d
This is a followup to commit 26709726a8.
* gnu/packages/linux.scm (deblob-scripts 6.1): Update hash.
Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I0035078f4c229763e56cf70ccae730804b123640