Cached checkouts could end up with stale untracked files, for example
because the checkout was interrupted. As a result, when this happens
for the Guix checkout, users would not get substitutes for ‘guix pull’.
* guix/git.scm (delete-untracked-files): New procedure.
(switch-to-ref): Use it.
* tests/git.scm ("update-cached-checkout, untracked files removed"): New
test.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Change-Id: Iccbe644ade396ad27a037db7e0ef1c2a68ef91ce
* gnu/tests/base.scm (run-basic-test)["shepherd services"]: Use
‘append-map’ on live service provisions to match what
‘operating-system-shepherd-service-names’ does.
Change-Id: Ie54082eed6c7b8d37d3428711e71c11e80940235
* guix/scripts/build.scm (options->derivations)[compute-derivation]:
Pass ‘system’ to ‘package-source-derivation’.
* tests/guix-build.sh: Test ‘-S’ together with ‘-s’.
Change-Id: If35f116285dd9caaf939221163ad0ba831eea993
* gnu/packages/virtualization.scm (qemu)[arguments]: Adjust the
configure-flags to provide a substitute location if built without
ipxe-qemu. Adjust the 'replace-firmwares phase to provide a substitute
location if built without ipxe-qemu. Add a phase when built without
ipxe-qemu to not require those firmware files for building or for tests.
[inputs]: Only build with ipxe-qemu when on a supported architecture.
Change-Id: If914193827faef6fa18b3cc3268d24cc7db4225e
Rather than querying the built-in-builders from the inferior, as using the
host value allows specifying it when opening the connection.
* guix/inferior.scm (port->inferior): Have cached-store-connection take the
built-in-builders.
(inferior-eval-with-store): Call cached-store-connection with the store
connection built-in-builders.
Change-Id: I27c20732355c0c6aa646748a02df39db302cd568
When computing channel instance derivations.
This is useful when you want to generate compatible derivations that can be
run with a daemon that potentially doesn't support builtin builders that the
daemon you're using to generate the derivations has.
I'm looking at this in particular because I want to use this in the data
service, since it provides substitutes for derivations, and since these can be
built on other machines, it's useful to control which builtin builders they
depend on.
Fixes: <https://issues.guix.gnu.org/67250>.
* build-aux/build-self.scm (build-program): Accept
#:built-in-builders and pass along to port->connection or
open-connection as approriate.
(build): Accept and pass on #:built-in-builders.
* guix/channels.scm (build-from-source, build-channel-instance,
channel-instance-derivations, channel-instances->manifest,
channel-instances->derivation): Accept and pass on
#:built-in-builders.
Change-Id: I315c990de66c6f7dca25a859165a5568abe385ea
To open-connection and port->connection. This overrides the discovered
builtin builders that the daemon says it provides.
This is useful when you want to generate compatible derivations that can be
run with a daemon that potentially doesn't support builtin builders that the
daemon you're using to generate the derivations has.
I'm looking at this in particular because I want to use this in the data
service, since it provides substitutes for derivations, and since these can be
built on other machines, it's useful to control which builtin builders they
depend on.
* guix/store.scm (open-connection, port->connection): Accept
#:built-in-builders and use this instead of %built-in-builders.
Fixes: <https://issues.guix.gnu.org/67250>.
Change-Id: I45d58ab93b6d276d280552858fc81ebc2b58828a
* gnu/packages/kde-utils.scm (keurocalc): Update to 1.3.0-2.c6e8385.
[arguments]: Set #:qtbase to qtbase.
Change-Id: I5cc51c6a478251e2fd2d9b1b660d5f5f3455933c
* gnu/packages/kde-games.scm (kajongg): Update to 24.05.2.
[inputs]: Remove qtbase-5 and qtsvg-5; add qtsvg.
[arguments]: Set #:qtbase to qtbase; Use Gexps.
Change-Id: Ib7ee51cc63f6bbf749ee34b23992ed46aa4fe27b
* gnu/packages/kde-games.scm (kshisen): Update to 24.05.2.
[inputs]: Remove qtbase-5 and qtdeclarative-5; add qtdeclarative.
[arguments]: Set #:qtbase to qtbase.
Change-Id: I14ee112cf435ce59245d54a7743ccdffaf4ef70b
* gnu/packages/kde-games.scm (kmahjongg): Update to 24.05.2.
[inputs]: Remove qtbase-5, qtdeclarative-5, and qtsvg-5; add qtdeclarative and
qtsvg.
[arguments]: Set #:qtbase to qtbase.
Change-Id: Ibef0e5fff96b281be6b5cb9898005ddd69b7bd96