Commit graph

67573 commits

Author SHA1 Message Date
Ludovic Courtès
abd7a47461
guix build: Add '--with-c-toolchain'.
* guix/scripts/build.scm (package-dependents/spec)
(package-toolchain-rewriting, transform-package-toolchain): New procedures.
(%transformations): Add it.
(%transformation-options, show-transformation-options-help): Add
'--with-c-toolchain'.
* tests/scripts-build.scm (depends-on-toolchain?): New procedure.
("options->transformation, with-c-toolchain")
("options->transformation, with-c-toolchain twice")
New test.
("options->transformation, with-c-toolchain, no effect"): New tests.
* doc/guix.texi (Package Transformation Options): Document it.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
46135ce4ce
packages: Add 'package-with-c-toolchain'.
* guix/build-system.scm (build-system-with-c-toolchain): New procedure.
* guix/packages.scm (package-with-c-toolchain): New procedure.
* tests/packages.scm ("package-with-c-toolchain"): New test.
* doc/guix.texi (package Reference): Document 'package-with-c-toolchain'.
(Build Systems): Mention it.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
b668450716
gnu: clang-toolchain: Create 'cc' and 'c++' symlinks.
* gnu/packages/llvm.scm (make-clang-toolchain)[arguments]: Create 'cc'
and 'c++' symlinks.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
61a5380bfd
gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
* gnu/packages/llvm.scm (make-clang-toolchain)[native-search-paths]: Add
'GUIX_LOCPATH'.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
f848c276f0
gnu: gcc-toolchain: Add 'GUIX_LOCPATH' to the search paths.
This allows 'gcc-toolchain' to be used as a drop-in replacement for the
default tool chain through '--with-toolchain=gcc-toolchain'.

* gnu/packages/commencement.scm (make-gcc-toolchain)[native-search-paths]
[search-paths]: Append LIBC's search paths.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
099d709caf
substitute: Reduce default narinfo negative TTL to 1h.
* guix/scripts/substitute.scm (%narinfo-negative-ttl): Reduce to 1h.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
d3162b98a8
tests: Add missing copyright line.
* tests/channels.scm: Add copyright line for past changes.
2020-10-12 18:23:47 +02:00
Ludovic Courtès
75e72dd34e
upgrade: Mention '--do-not-upgrade' in '--help' output.
* guix/scripts/upgrade.scm (show-help): Add '--do-not-upgrade'.
2020-10-12 18:23:47 +02:00
Efraim Flashner
51d3696480
gnu: rust-clang-sys: Fix package references.
* gnu/packages/crates-io.scm (rust-clang-sys-1)[inputs]: Rename clang to
libclang.
[arguments]: Adjust package reference accordingly.
2020-10-12 13:25:39 +03:00
Efraim Flashner
8bcfd15c2a
gnu: rust-core-foundation-0.7: Downgrade to 0.7.0.
0.7.1 was pulled by upstream.

* gnu/packages/crates-io.scm (rust-core-foundation-0.7): Downgrade to 0.7.0.
[arguments]: Skip build.
2020-10-12 13:25:39 +03:00
Efraim Flashner
af211eb520
gnu: rust-tokio-util-0.3: Skip tests.
* gnu/packages/crates-io.scm (rust-tokio-util-0.3)[arguments]: Skip
tests.
2020-10-12 13:25:39 +03:00
Efraim Flashner
1bea13cbd5
gnu: rust-xml-rs-0.7: Downgrade to 0.7.0.
0.7.1 was pulled by upstream.

* gnu/packages/crates-io.scm (rust-xml-rs-0.7): Downgrade to 0.7.0.
[source]: Remove snippet.
[arguments]: Only test the libs. In cargo-inputs remove
rust-doc-comment-0.3, rust-lazy-static-1, add rust-bitflags-1.
2020-10-12 13:25:39 +03:00
Efraim Flashner
b01644cf53
gnu: rust-syn-0.11: Skip tests.
* gnu/packages/crates-io.scm (rust-syn-0.11)[arguments]: Skip tests.
2020-10-12 13:25:38 +03:00
Efraim Flashner
d94a56d52e
gnu: rust-fluid-attributes-0.4: Skip tests.
* gnu/packages/crates-io.scm (rust-fluid-attributes-0.4)[arguments]:
Skip tests.
2020-10-12 13:25:38 +03:00
Arun Isaac
328cf4e9a9
gnu: r-rgdal: Update to 1.5-17.
* gnu/packages/cran.scm (r-rgdal): Update to 1.5-17.
2020-10-12 15:45:40 +05:30
Arun Isaac
265b2bc5d3
gnu: r-rgdal: Replace proj.4 with proj.
* gnu/packages/cran.scm (r-rgdal)[inputs]: Replace proj.4 with proj.
2020-10-12 15:37:56 +05:30
Florian Pelz
9a7bea11d6
news: Update copyright.
* etc/news.scm: Add missing copyright headers.
2020-10-12 09:33:39 +00:00
Ludovic Courtès
baa4a2ef81
lint: cve: Set a connection timeout.
This (notably) works around the fact that nvd.nist.gov is currently
inaccessible over IPv6.

* guix/cve.scm (fetch-vulnerabilities): Add #:timeout and pass it to
'http-fetch/cached'.
(current-vulnerabilities): Add #:timeout and pass it to
'fetch-vulnerabilities'.
* guix/lint.scm (current-vulnerabilities*): Pass #:timeout to
'current-vulnerabilities'.
2020-10-12 11:28:56 +02:00
Ludovic Courtès
d11f7f62b6
http-client: 'http-fetch' and 'http-fetch/cached' accept #:timeout.
* guix/http-client.scm (http-fetch): Add #:timeout and pass it to
'guix:open-connection-for-uri'.
(http-fetch/cached): Add #:timeout parameter and pass it to
'http-fetch'.
2020-10-12 11:28:56 +02:00
Ludovic Courtès
6c46e477eb
channels: Address test failure.
Fixes <https://bugs.gnu.org/43940>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

The "channel-instances->manifest" test would fail since
1d4ab335b2: 'quiet-guile' would be passed #f
as GUILE, and thus 'package-version' would fail with wrong-type-arg.

* guix/channels.scm (whole-package-for-legacy): Pass #:guile to
'whole-package'.
* tests/channels.scm ("channel-instances->manifest"): Remove 'test-expect-fail'.
2020-10-12 11:28:56 +02:00
Efraim Flashner
8608d40b2a
gnu: rust-xz2-0.1: Fix building.
* gnu/packages/crates-io.scm (rust-xz2-0.1)[native-inputs]: Add
pkg-config, xz.
2020-10-12 12:25:03 +03:00
Efraim Flashner
8203bf6c13
gnu: rust-pq-sys-0.4: Fix building.
* gnu/packages/crates-io.scm (rust-pq-sys-0.4)[arguments]: Move crates
from cargo-development-inputs to cargo-inputs.
[native-inputs]: Add postgresql.
2020-10-12 12:25:03 +03:00
Efraim Flashner
21233fca78
gnu: rust-crc-1: Downgrade to 1.8.1.
1.9.0 was pulled by upstream.

* gnu/packages/crates-io.scm (rust-crc-1): Downgrade to 1.8.1.
[arguments]: Remove rust-criterion-0.2 from cargo-development-inputs.
2020-10-12 12:25:03 +03:00
Efraim Flashner
7507db9dc7
gnu: rust-core-foundation-0.6: Fix building.
* gnu/packages/crates-io.scm (rust-core-foundation-0.6)[arguments]:
Replace rust-core-foundation-sys-0.7 with 0.6 in cargo-inputs.
Skip tests.
2020-10-12 12:25:03 +03:00
Efraim Flashner
ade20696c9
gnu: rust-as-slice-0.1: Update to 0.1.4.
* gnu/packages/crates-io.scm (rust-as-slice-0.1): Update to 0.1.4.
[arguments]: Add rust-generic-array-0.14 to cargo-inputs.
2020-10-12 12:25:02 +03:00
Efraim Flashner
e1ef59f7f2
gnu: rust-as-slice-0.1: Fix build.
* gnu/packages/crates-io.scm (rust-as-slice-0.1)[arguments]: Add
rust-generic-array-0.13 to cargo-inputs.
2020-10-12 12:25:02 +03:00
Efraim Flashner
0ee1f92985
gnu: rust-mysqlclient-sys-0.2: Fix build.
* gnu/packages/crates-io.scm (rust-mysqlclient-sys-0.2)[arguments]: Move
rust-pkg-config-0.3, rust-vcpkg-0.2 from cargo-development-inputs to
cargo-inputs.
[native-inputs]: Add mariadb:lib.
2020-10-12 12:25:02 +03:00
Efraim Flashner
319f7eaf0f
gnu: rust-cloudabi-0.1: Skip build.
* gnu/packages/crates-io.scm (rust-cloudabi-0.1)[arguments]: Skip build.
2020-10-12 12:25:02 +03:00
Efraim Flashner
a812c2e8a3
gnu: rust-libmimalloc-sys-0.1: Update to 0.1.18.
* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1): Update to 0.1.18.
2020-10-12 12:25:01 +03:00
Efraim Flashner
1d67ba6f3b
gnu: rust-libmimalloc-sys-0.1: Fix building.
* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1)[arguments]: Move
rust-cmake-0.1 from cargo-development-inputs to cargo-inputs.
[native-inputs]: Add cmake-minimal.
2020-10-12 12:25:01 +03:00
Efraim Flashner
f013613406
gnu: rust-once-cell-1: Fix building.
* gnu/packages/crates-io.scm (rust-once-cell-1)[arguments]: Replace
rust-parking-lot-0.10 with 0.11 in cargo-inputs.
2020-10-12 12:25:01 +03:00
Efraim Flashner
ef421ee22b
gnu: rust-criterion-plot-0.4: Fix building.
* gnu/packages/crates-io.scm (rust-criterion-plot-0.4)[arguments]:
Replace rust-itertools-0.8 with 0.9 in cargo-inputs.
2020-10-12 12:25:01 +03:00
Efraim Flashner
86574608c7
gnu: rust-zstd-sys-1: Adjust crate imports.
* gnu/packages/crates-io.scm (rust-zstd-sys-1)[arguments]: Move all
cargo-development-inputs to cargo-inputs.
2020-10-12 12:25:01 +03:00
Christopher Baines
f3e96671fe
gnu: guile-squee: Update to 0-1.7dcd22b.
* gnu/packages/guile-xyz.scm (guile-squee): Update to 0-1.7dcd22b.
2020-10-12 09:01:56 +01:00
Miguel Ángel Arruga Vivas
e746d30ec1
news: Add 'es' translation.
* etc/news.scm: Add Spanish translation.

Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2020-10-12 07:08:10 +00:00
Zhu Zihao
830c5479bb
gnu: rtl8821ce-linux-module: Update to 0.0.0-1.fe97b500.
* gnu/packages/linux.scm(rtl8821ce-linux-module): Update to 0.0.0-1.fe97b500

Fix the broken build on linux-libre 5.8.
2020-10-12 10:00:25 +03:00
Efraim Flashner
874979e8df
gnu: web.scm: Sort module imports alphabetically.
* gnu/packages/web.scm: Sort package module imports alphabetically.
2020-10-12 09:46:42 +03:00
Ryan Prior via Guix-patches via
5137c73e29
gnu: Add esbuild.
* gnu/packages/web.scm (esbuild): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-12 09:46:42 +03:00
Ryan Prior via Guix-patches via
58420d23af
gnu: Add go-github-com-kylelemons-godebug.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-10-12 09:46:42 +03:00
Arun Isaac
7d34dae1f1
gnu: Add rust-swc-1.
* gnu/packages/crates-io.scm (rust-swc-1): New variable.
2020-10-12 11:42:09 +05:30
Arun Isaac
c3caffb155
gnu: Add rust-radix-fmt-1.
* gnu/packages/crates-io.scm (rust-radix-fmt-1): New variable.
2020-10-12 11:42:09 +05:30
Arun Isaac
1757c5e912
gnu: Add rust-st-map-0.1.
* gnu/packages/crates-io.scm (rust-st-map-0.1): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
40b2e9052c
gnu: Add rust-fluid-0.4.
* gnu/packages/crates-io.scm (rust-fluid-0.4): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
4fabe74173
gnu: Add rust-fluid-attributes-0.4.
* gnu/packages/crates-io.scm (rust-fluid-attributes-0.4): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
bb9003c975
gnu: Add rust-sourcemap-6.
* gnu/packages/crates-io.scm (rust-sourcemap-6): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
c2b43329a1
gnu: Add rust-path-clean-0.1.
* gnu/packages/crates-io.scm (rust-path-clean-0.1): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
722c00d110
gnu: Add rust-is-macro-0.1.
* gnu/packages/crates-io.scm (rust-is-macro-0.1): New variable.
2020-10-12 11:42:08 +05:30
Arun Isaac
461b8f7457
gnu: Add rust-ipconfig-0.2.
* gnu/packages/crates-io.scm (rust-ipconfig-0.2): New variable.
2020-10-12 11:42:07 +05:30
Arun Isaac
bc69ad7b36
gnu: Add rust-napi-0.5.
* gnu/packages/crates-io.scm (rust-napi-0.5): New variable.
2020-10-12 11:42:07 +05:30
Arun Isaac
0a0a560c90
gnu: Add rust-napi-build-0.2.
* gnu/packages/crates-io.scm (rust-napi-build-0.2): New variable.
2020-10-12 11:42:07 +05:30