nixpkgs/pkgs/build-support/rust
Alyssa Ross ca8a6d8c19 wrapRustcWith: allow --sysroot to be overridden
It turns out that unlike a normal Unix program, if the --sysroot
option is given more than once, rustc will error rather than using the
last value given.  Therefore, we need to ensure we only add our
default --sysroot argument if one hasn't been given explicitly on the
wrapper's command line.

This fixes cross compilation of rustc.

Closes: https://github.com/NixOS/nixpkgs/issues/271736
Fixes: 8b51cdd3be ("rustc: add a compiler wrapper")
2023-12-19 11:34:02 +01:00
..
build-rust-crate Merge pull request #266787 from tvbeat/cargo-manifest-links 2023-11-19 16:14:58 +01:00
build-rust-package lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
fetch-cargo-tarball rustPlatform.fetchCargoTarball: remove explicit sparse protocol 2023-06-02 21:28:57 -04:00
hooks lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
lib lib.systems: elaborate Rust metadata 2023-11-09 10:02:24 +01:00
rustc-wrapper wrapRustcWith: allow --sysroot to be overridden 2023-12-19 11:34:02 +01:00
sysroot build-support/rust/sysroot: let cargo-src crate become no_std 2023-03-12 12:24:23 +01:00
test/import-cargo-lock tests.importCargoLock.maturin: reexport maturin.tests.pyo3 2023-06-19 10:42:24 -04:00
default-crate-overrides.nix default-crate-overrides: add libseat-sys 2023-08-26 01:08:29 -07:00
fetchcargo-default-config.toml
fetchcrate.nix fetchCrate: fix registryDl 2023-05-28 13:20:03 -04:00
import-cargo-lock.nix importCargoLock: fix git dep config file 2023-06-29 21:47:27 +08:00
replace-workspace-values.py rustPlatform.importCargoLock: copy lints from workspace 2023-12-16 05:36:59 +00:00