* guix/scripts/package.scm (options->installable): Add TRANSFORM
argument, to be able to directly transform the new packages before
creating their manifest entries.
(process-actions): Remove transform-entry, and step3, transforming
directly in step2.
* tests/guix-package.sh: Add test.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/build/image.scm (sexp->partition): Add flags support.
* gnu/system/image.scm (partition->gexp): Ditto.
(system-disk-image): Set the genimage bootable flag if it is part of the
partition flags.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Fixes <https://issues.guix.gnu.org/55335>.
Reported by Christopher Baines <mail@cbaines.net>.
* gnu/services/ssh.scm (openssh-shepherd-service)[inetd-style?]: New variable.
<start>: Use it. When using 'make-inetd-constructor', pass a list of
endpoints as is possible with the Shepherd 0.9.1.
<stop>: Adjust accordingly.
* gnu/tests/ssh.scm (run-ssh-test)["wait for port 22"]: Rename to...
["wait for port 22, IPv4"]: ... this.
["wait for port 22, IPv6"]: New test.
This should fix the runtime error of the maxima package:
fatal error encountered in SBCL pid 26911 tid 26911:
core was built for runtime "localhost-nixbld-2022-03-03-15-45-58"
but this is "localhost-nixbld-2022-03-03-08-51-27"
* gnu/packages/lisp.scm (sbcl)[arguments]: Add 'fix-build-id' phase.
Also factorize the --system and --target build options. Check that the passed
system and target arguments are known platforms.
* doc/guix.texi (Additional Build Options): Document the new --list-systems
and --list-targets options.
* guix/scripts/build.scm (show-cross-build-options-help,
show-emulated-build-options-help, list-systems, list-targets): New procedures.
(%standard-cross-build-options, %standard-emulated-build-options): New
variables.
(show-help): Remove --system and --target entries and use
show-cross-build-options-help and show-emulated-build-options-help procedures instead.
(%options): Remove --system and --target entries and use
%standard-cross-build-options and %standard-emulated-build-options variables instead.
* guix/scripts/archive.scm (show-help, %options): Adapt them.
* guix/scripts/environment.scm: Ditto.
* guix/scripts/graph.scm: Ditto.
* guix/scripts/pack.scm: Ditto.
* guix/scripts/pull.scm: Ditto.
* guix/scripts/size.scm: Ditto.
* guix/scripts/weather.scm: Ditto.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
* gnu/ci.scm (%cross-targets): Remove it ...
(cross-jobs): ... and use the targets procedure instead.
* etc/release-manifest.scm: Adapt it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This extension is required by some programs that depend on openfst that aren't
yet packaged.
* gnu/packages/machine-learning.scm (openfst): Update to 1.8.2.
[arguments]: New field.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The extension doesn't build in old versions of openfst such as 1.7.3 without
manually setting CXXFLAGS.
This package definition, including this workaround to build extensions
successfully, will need to be removed once kaldi is fixed upstream and can be
used with up-to-date versions of openfst.
* gnu/packages/machine-learning.scm (openfst-1.7.3)[arguments]: New field.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Either kaldi's tests are broken or openblas has reintroduced a bug:
- https://github.com/kaldi-asr/kaldi/pull/4421
More testing & fixes required upstream to re-enable the tests later. For now
they'll just have to be ignored.
* gnu/packages/machine-learning.scm (kaldi): Update to dd107fd.
[arguments]: In 'configure' phase, modify "matrix/Makefile".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Kaldi is currently broken with openfst versions newer than 1.7.3 as it changed
some of its function signatures.
Once Kaldi is patched/fixed, this should be removed.
Reference Issues:
- https://github.com/kaldi-asr/kaldi/issues/4131
- https://github.com/kaldi-asr/kaldi/issues/4393
* gnu/packages/machine-learning.scm (openfst-1.7.3): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>