* gnu/packages/rust-apps.scm (bottom)[arguments]: Rewrite using g-exps.
Rewrite the 'install-extras to use the copy-build-system 'install phase.
Change-Id: Ib0faa12fedf4b539566d97e42e843c0c26b0812f
* gnu/packages/shellutils.scm (pay-respects)[arguments]: Add a phase to
generate the shell completions.
[native-inputs]: When cross-compiling add pay-respects.
Change-Id: I150fd240283ae3b3994b5e8e6028ed7d6b359d9d
* gnu/packages/rust-apps.scm (bat)[arguments]: Rewrite the
'install-extras phase to use the copy-build-system 'install phase.
Change-Id: I77de03e0d026ac02173f244a0b897474ee839e89
* gnu/packages/rust-apps.scm (forgejo-cli)[arguments]: Add a phase to
generate the shell completions.
[native-inputs]: When cross-compiling add forgejo-cli.
Change-Id: I6a22ef1b34c833d89244554d8e13b8287b2318ea
Waits for devices specified by a string.
Fixes: #6134
Change-Id: I430483deccb70fad44fe0e141afc050ae41308dc
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
When a device with a UUID is missing, canonicalize-device-spec will throw an
error. This error is not handled for mount-may-fail? devices. That means
that if you use UUID device and it isn't available, the boot will hang on
the user-file-systems not being started. All user services depend on that
service.
Also added a test for this behavior.
* gnu/build/file-systems.scm
(mount-file-system): Guard canonicalize-device-spec call.
(canonicalize-device-spec): Throw &partition-lookup-error on missing
partition.
(&partition-lookup-error): New variable.
* gnu/tests/base.scm (%test-missing-file-system): New variable.
Change-Id: I3b8d652251cef421cff6d2fdafb8d9d7d1fc74b5
Reported-By: renbus, on IRC
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This is a following up fix reported in
<https://codeberg.org/guix/guix/pulls/6443#issuecomment-10859915>.
* gnu/packages/package-management.scm (poetry):
[phases]{sanity-check}: Preserve phase.
[propagated-inputs]: Remove python-dulwich; add python-dulwich-0.24.
Change-Id: I92b5c2a9d5ed025aca5145b5d0f75c5821bbda5a
* gnu/packages/machine-learning.scm (fbgemm): Update to 1.5.0.
* gnu/packages/patches/fbgemm-use-system-libraries.patch: Refresh for 1.5.0,
enable C language checks in CMake, and adapt to upstream test CMake changes.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/machine-learning.scm (python-botorch): Substitute out
an invalid call to `view\' that passes a torch.Size plus extra arguments,
which PyTorch 2.10 rejects.
Change-Id: I71a47dab611ad33c3f765c74093aeadabc9f4c8d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/services/upnp.scm (%readymedia-default-pid-directory): New variable.
(%readymedia-pid-file): New procedure.
(readymedia-shepherd-service)[start]: Start with the pid file.
(readymedia-activation): Create the pid directory.
* gnu/tests/upnp.scm (run-readymedia-test): Test the pid directory and file.
Merges: https://codeberg.org/guix/guix/pulls/1007
Change-Id: I454a89d25afe0e9bb0414645b1e4594afdf89058
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
* gnu/services/upnp.scm (%readymedia-default-log-directory): Remove variable.
(%readymedia-default-log-file): New procedure.
(%readymedia-default-cache-directory): Turn it into a procedure.
(<readymedia-configuration>)[log-directory]: Remove field.
[log-file]: New field.
[cache-directory]: Set to %readymedia-default-cache-directory.
(readymedia-configuration->config-file): Remove "user" and "log_dir" fields.
(readymedia-shepherd-service)[modules]: Add (shepherd support).
[start]: Do not map the log-directory. For home services, do not wrap the
program with least-authority-wrapper.
(readymedia-activation): Do not create the log-directory.
* gnu/home/services/upnp.scm (%readymedia-cache-file, %readymedia-cache-path,
%readymedia-log-path): Remove variables.
(run-readymedia-test): Use the procedures properly. Do not test the
log directory. Test the log file.
* doc/guix.texi (Miscellaneous Services)[DLNA/UPnP Services]: Update doc.
Change-Id: I97d84b5287c374ddb26a495f20a36f986b0c142d
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
Ensure that executables from the profile PATH are accessible inside a Clojure
process.
* gnu/packages/clojure.scm (clojure-tools)[arguments]: Extend PATH instead of
overwriting it.
Change-Id: Ide3d3f12c00803b1eb1392976aa0ff03feabafe7
Signed-off-by: Julien Lepiller <julien@lepiller.eu>