Mathieu Othacehe
051c087d71
scripts: build: Highlight the current system with --list-systems.
...
* guix/scripts/build.scm (list-systems): Highlight it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
b55310603f
linux: Remove system->linux-architecture procedure.
...
* gnu/packages/linux.scm (system->linux-architecture): Remove it.
(make-linux-libre-headers*, make-linux-libre*): Adapt them.
* guix/build-system/linux-module.scm (system->arch): Adapt it.
* gnu/packages/instrumentation.scm (uftrace): Ditto.
* gnu/packages/cross-base.scm (cross-kernel-headers): Ditto.
* gnu/packages/bioinformatics.scm (ncbi-vdb): Ditto.
* doc/guix.texi (Porting to a new platform): Update it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
4cf7d0f836
platform: Add glibc-dynamic-linker field.
...
* gnu/platform.scm (<platform>)[glibc-dynamic-linker]: New field.
(platform-glibc-dynamic-linker, lookup-platform-by-system): New procedures.
* gnu/platforms/arm.scm (armhf-linux, aarch64-linux): Add the glibc-dynamic-linker field.
* gnu/platforms/hurd.scm (hurd): Ditto.
* gnu/platforms/intel.scm (intel32-linux, intel64-linux, intel32-mingw, intel64-linux): Ditto.
* gnu/platforms/mips.scm (mips64el-linux): Ditto.
* gnu/platforms/powerpc.scm (powerpc-linux, powerpc64-linux): Ditto.
* gnu/platforms/riscv.scm (riscv64-linux): Ditto.
* gnu/platforms/s390.scm (riscv64-linux): Ditto.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Adapt it.
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
ec42d287b4
scripts: Add --list-systems and --list-targets options.
...
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>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
dd970122dd
ci: Do not rely on hardcoded cross-targets lists.
...
* 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>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
4f2320f79d
platform: Add discovery support.
...
* gnu/platform.scm (platform-modules, systems, targets,
lookup-platform-by-system, lookup-platform-by-target,
lookup-platform-by-target-or-system
platform-system->target,
platform-target->system): New procedures.
(%platforms): New variable.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:33 +02:00
Mathieu Othacehe
31f7696be4
platform: Introduce new platforms.
...
* gnu/platforms/intel.scm: New file.
* gnu/platforms/mips.scm: Ditto.
* gnu/platforms/powerpc.scm: Ditto.
* gnu/platforms/riscv.scm: Ditto.
* gnu/platforms/s390.scm: Ditto.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-05-22 15:15:32 +02:00
Leo Prikler
6e0b2adf5f
gnu: Add font-ipa-ex.
...
* gnu/packages/fonts.scm (font-ipa-ex): New variable.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-05-22 00:11:15 -04:00
Tobias Geerinckx-Rice
ad07af3538
gnu: diffoscope: Update to 213.
...
* gnu/packages/diffoscope.scm (diffoscope): Update to 213.
2022-05-15 02:00:10 +02:00
Tobias Geerinckx-Rice
17799fe97a
gnu: libdeflate: Update to 1.10.
...
* gnu/packages/compression.scm (libdeflate): Update to 1.10.
2022-05-15 02:00:18 +02:00
Tobias Geerinckx-Rice
054c55cac9
gnu: libdeflate: Omit static library.
...
* gnu/packages/compression.scm (libdeflate)[arguments]:
Add a new 'skip-static-library-installation phase.
2022-05-15 02:00:18 +02:00
Tobias Geerinckx-Rice
c9512e6dc5
gnu: libjcat: Update to 0.1.11.
...
* gnu/packages/compression.scm (libjcat): Update to 0.1.11.
2022-05-15 02:00:18 +02:00
Tobias Geerinckx-Rice
d1ad5ad828
gnu: pigz: Use G-expressions.
...
* gnu/packages/compression.scm (pigz)[arguments]:
Rewrite as G-expressions. Don't explicitly return #t from phases.
2022-05-15 02:00:18 +02:00
Tobias Geerinckx-Rice
b247d7a469
gnu: pigz: Update to 2.7.
...
* gnu/packages/compression.scm (pigz): Update to 2.7.
[arguments]: Run ‘make test’ rather than ‘tests’. The latter tests
the NOTHREAD build that's never installed, and broken.
[native-inputs]: Add which.
2022-05-15 02:00:18 +02:00
Tobias Geerinckx-Rice
d52d5ee4ec
gnu: pigz: Remove unused git input.
...
* gnu/packages/compression.scm (libjcat)[inputs]: Remove git.
2022-05-15 02:00:17 +02:00
Ludovic Courtès
b782d11f9b
news: Add entry for 'guix import elm'.
...
* etc/news.scm: Add entry.
2022-05-22 01:42:27 +02:00
Philip McGrath
7a2eb7d231
gnu: Add elm-terezka-elm-charts.
...
* gnu/packages/elm.scm (elm-terezka-elm-charts): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:57 +02:00
Philip McGrath
f8e080691d
gnu: Add elm-terezka-intervals.
...
* gnu/packages/elm.scm (elm-terezka-intervals): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
1b8d1f7d48
gnu: Add elm-ryannhg-date-format.
...
* gnu/packages/elm.scm (elm-ryannhg-date-format): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
71841da6f7
gnu: Add elm-myrho-elm-round.
...
* gnu/packages/elm.scm (elm-myrho-elm-round): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
0fbf000f68
gnu: Add elm-justinmimbs-time-extra.
...
* gnu/packages/elm.scm (elm-justinmimbs-time-extra): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
f0b7c8dca0
gnu: Add elm-justinmimbs-date.
...
* gnu/packages/elm.scm (elm-justinmimbs-date): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
4d50052cf3
gnu: Add elm-danhandrea-elm-time-extra.
...
* gnu/packages/elm.scm (elm-danhandrea-elm-time-extra): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:56 +02:00
Philip McGrath
34f4542154
gnu: Add elm-danhandrea-elm-date-format.
...
* gnu/packages/elm.scm (elm-danhandrea-elm-date-format): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
297ae57bed
gnu: Add elm-explorations-test.
...
* gnu/packages/elm.scm (elm-explorations-test): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
4522741c1d
gnu: Add elm-random.
...
* gnu/packages/elm.scm (elm-random): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
955638d8ac
gnu: Add elm-debois-elm-dom.
...
* gnu/packages/elm.scm (elm-debois-elm-dom): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
b6c0f18dee
gnu: Add elm-todomvc.
...
* gnu/packages/elm.scm (elm-todomvc): New variable.
* doc/guix.texi (Build Systems)[elm-build-system]: Mention it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:55 +02:00
Philip McGrath
9885c2fd07
gnu: elm: Support 'elm reactor'.
...
* gnu/packages/elm.scm (elm): Rename to ...
(elm-sans-reactor): ... this new variable.
[synopsis, description]: Tweak.
(elm): New variable.
* guix/build-system/elm.scm (default-elm): Use elm-sans-reactor.
* doc/guix.texi (Build Systems)[elm-build-system]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
796045b2c2
gnu: Add elm-explorations-markdown.
...
* gnu/packages/elm.scm (elm-explorations-markdown): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
1e0e94c35e
gnu: Add elm-project-metadata-utils.
...
* gnu/packages/elm.scm (elm-project-metadata-utils): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
e46c530d50
gnu: Add elm-parser.
...
* gnu/packages/elm.scm (elm-parser): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
2ea11208f2
gnu: Add elm-http.
...
* gnu/packages/elm.scm (elm-http): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
324b404804
gnu: Add elm-file.
...
* gnu/packages/elm.scm (elm-file): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:54 +02:00
Philip McGrath
dfae053d73
gnu: Add elm-bytes.
...
* gnu/packages/elm.scm (elm-bytes): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
951ad86e81
gnu: Add elm-browser.
...
* gnu/packages/elm.scm (elm-browser): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
31ee69721a
gnu: Add elm-url.
...
* gnu/packages/elm.scm (elm-url): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
c69d91a1b5
gnu: Add elm-time.
...
* gnu/packages/elm.scm (elm-time): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
db6b8d5e2c
gnu: Add elm-svg.
...
* gnu/packages/elm.scm (elm-svg): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
7ecc855254
gnu: Add elm-html.
...
* gnu/packages/elm.scm (elm-html): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:53 +02:00
Philip McGrath
205457f814
gnu: Add elm-virtual-dom.
...
* gnu/packages/elm.scm (elm-virtual-dom): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
903c82583e
import: Add Elm importer.
...
* guix/import/elm.scm, guix/scripts/import/elm.scm: New files.
* Makefile.am (MODULES): Add them.
* guix/scripts/import.scm (importers): Add "elm".
* doc/guix.texi (Invoking guix import): Document Elm importer.
* doc/contributing.texi (Elm Packages): Mention it.
* tests/elm.scm ("(guix import elm)"): New test group.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
9a47fd56dd
import: json: Accept '#:http-fetch' in 'json-fetch'.
...
For example, supplying 'http-fetch/cached' would enable caching.
* guix/import/json.scm (json-fetch): Add '#:http-fetch' argument.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
ae533e3084
http-client: 'http-fetch/cached' converts strings to URIs.
...
* guix/http-client.scm (http-fetch/cached): Use 'string->uri' if URI is
a string, as with 'http-fetch'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
00a5a07bb2
http-client: Accept '#:headers' in 'http-fetched/cached'.
...
Callers can supply alternative headers as with 'http-fetch'.
* guix/http-client.scm (http-fetch/cached): Add '#:headers' argument.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
dce724dc82
build-system/elm: Add implicit Elm inputs.
...
* guix/build-system/elm.scm (default-elm-core): New variable.
(default-elm-json): Likewise
(lower): Use them as implicit inputs when applicable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:52 +02:00
Philip McGrath
d16b2a1421
gnu: Add elm-core and elm-json.
...
Both of these packages are needed for 'elm-build-system' to work.
* gnu/packages/elm.scm (elm-core, elm-json, elm-json-bootstrap): New
variables.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Philip McGrath
aefcfdd0ae
guix: Add elm-build-system.
...
* gnu/packages/patches/elm-offline-package-registry.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/elm.scm (elm): Use it.
* guix/build-system/elm.scm, guix/build/elm-build-system.scm,
tests/elm.scm: New files.
* Makefile.scm (MODULES, SCM_TESTS): Add them.
* doc/guix.texi (Build Systems): Document 'elm-build-system'.
* doc/contributing.texi (Elm Packages): New section. Document naming
conventions and utilities.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Philip McGrath
0d480d4c62
gnu: elm: Rename package to match the command.
...
* gnu/packages/elm.scm (elm-compiler): Rename to ...
(elm): ... this variable, leaving 'elm-compiler' as a deprecated alias.
[description]: Tweak.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00
Philip McGrath
4e99510dea
gnu: elm-compiler: Update to 0.19.1.
...
* gnu/packages/patches/elm-compiler-disable-reactor.patch,
gnu/packages/patches/elm-compiler-fix-map-key.patch: Delete files.
* gnu/packages/patches/elm-reactor-static-files.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/elm.scm (elm-compiler): Update to 0.19.1.
[origin]<patches>: Remove stale patches. Add new patch.
[arguments]: Use G-expressions. Add #:configure-flags for new patch.
[inputs]: Remove ghc-file-embed. Add ghc-filelock.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-22 01:07:51 +02:00