* gnu/packages/rust.scm (rust-1.75): New variable.
(rust): Update to 1.75.0.
[arguments]: Adjust substitutions in custom phases for changes in source
code.
Change-Id: I0065d09a297e227e58998455bb90d18304fd6729
* gnu/packages/rust.scm (rust-1.55)[arguments]: Remove references to
jemalloc in custom 'configure phase and set rust to build without
jemalloc.
[inputs]: Remove jemalloc.
Change-Id: I388688111c897b15feb6ccee3374219b82f64169
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Remove
procedure.
(rust-bootstrap)[arguments]: Adjust make-flags, custom 'install phase
to use platform-rust-target.
(rust-1.55)[arguments]: Adjust custom 'configure and 'install phases to
use platform-rust-target.
(make-rust-sysroot)[arguments]: Adjust custom 'configure phase to use
platform-rust-target.
Change-Id: I102d44231c1411ea14ca75170f4884304d11bee1
This makes those packages visible to (gnu ci), giving them first class
in the eyes of Cuirass and similar tools, in turn ensuring substitutes
are available (this was discovered by running ‘guix weather -c 10’).
* gnu/packages/rust.scm (rust-bootstrap, rust-1.55)
(rust-1.56, rust-1.57, rust-1.58, rust-1.59, rust-1.60)
(rust-1.61, rust-1.62, rust-1.63, rust-1.64, rust-1.65)
(rust-1.66, rust-1.67, rust-1.68, rust-1.69, rust-1.70)
(rust-1.71, rust-1.72, rust-1.73): Make variable public and add
‘hidden?’ property.
(rust): Remove ‘hidden?’ property.
* gnu/packages/java.scm (java-hamcrest-parent-pom)
(java-org-ow2-parent-pom-1.3, java-asm-bootstrap): Make variable public
and add ‘hidden?’ property.
* gnu/packages/ocaml.scm (dune-bootstrap)
(ocaml4.09-dune-bootstrap, ocaml5.0-dune-bootstrap): Likewise.
Change-Id: I32b0ea639a4f1c39466875acdbc9cbadf75c7668
To ensure that it just returns a single package record for some given
arguments, as this helps to avoid poor performance of the store connection
object cache.
Performance with computing the cross derivations is important for the data
service, as it's currently very slow to process revisions.
* gnu/packages/rust.scm (make-rust-sysroot): Move code to
make-rust-sysroot/implementation.
(make-rust-sysroot/implementation): New variable.
Change-Id: Ibb30c7398328c87c032bb8828635a34ada935167
* gnu/packages/rust.scm (rust)[arguments]: Rewrite 'wrap-rust-analyzer
phase to allow using a custom RUST_SRC_PATH.
Change-Id: Id811bc8d09c0f955ece9c9e6267a0ae96e61f105
* gnu/packages/rust.scm (rust): Update to 1.73.0.
[arguments]: Add phase to skip some tests using cargo publish.
Change-Id: I3b0539ce036805f606bfbc1a1bba98a95d4a22fe
* gnu/packages/rust.scm (rust)[outputs]: Add rust-src output.
[arguments]: Add a phase to install the rust sources and a phase to wrap
the rust-analyzer binary with the path to the rust sources.
* gnu/packages/rust.scm (rust)[outputs]: Rename 'rustfmt' output to
'tools'.
[arguments]: Adjust 'build, 'check and 'install phases to also provide
clippy and rust-analyzer.
A little helper function to make creating a list to ignore tests easier.
* gnu/packages/rust.scm (make-ignore-test-list): New function.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/rust-apps.scm (rust-analyzer): Update dependency
rust-notify-5-pre.13.
This fixes the build of `rust-analyzer@2022-01-10`, which required a pinned
version of `rust-notify` (`rust-notify-5-pre.13`) to compile and
rust >= 1.64.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/rust.scm (rust): Update to 1.68.2.
[arguments]: Adjust 'skip-shebang-tests phase to moved files. Add
'adjust-rpath-values phase to link to shared libraries.
This is so that we can merge the branch, building rust for aarch64-linux
on CI is very time intensive.
* gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove
aarch64-linux.
* gnu/packages/rust.scm (rust)[arguments]: Only enable parallel-builds
on x86_64-linux. Add a make-flag to adjust CFLAGS. In the custom 'build
phase remove an unneeded environment variable.
[supported-architectures]: Add aarch64-linux.
This reverts commit 7e777d70e67cc90f019988aa2af68bbf1fe25c00.
This makes it impractical to update several libraries without a rust
rebuild. Since rust doesn't retain a reference to these libraries it
isn't clear that this is the best choice.
* gnu/packages/rust.scm (rust)[source]: Adjust snippet to remove more
bundled sources.
[arguments]: Add a phase to set flags to use more system libraries.
[inputs]: Add curl, libgit2, libssh, xz, zlib.
* gnu/packages/rust.scm (rust)[arguments]: In the custom
'patch-process-tests phase rewrite the logic for skipping some tests so
that it doesn't cause errors on aarch64-linux or riscv64-linux.
* gnu/packages/rust.scm (rust): Update to 1.67.
[arguments]: Add a phase to skip tests requiring mercurial. Extend the
custom 'patch-process-tests phase.
(rust-1.64)[arguments]: Adjust 'patch-cargo-checksums phase to patch
another file.
* guix/build/cargo-build-system.scm (package): Adjust to remove
Cargo.toml.orig file if it exists.
Support is currently broken and blocks too many other packages.
* gnu/packages/gnome.scm (librsvg-for-system): Only use librsvg on
x86_64-linux.
* gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove
aarch64-linux, riscv64-linux.