nixpkgs-suyu/pkgs
Daniël de Kok fe50bab788 buildRustCrate: set CARGO_FEATURE_* when running the build script
Cargo sets `CARGO_FEATURE_*` for all features when running a build
script:

https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-sets-for-build-scripts

Some crates have build scripts (e.g. openblas-src) that rely on the
feature variables being properly set.

Since we now need several representations of features, this change
also updates `createFeatures` to be a list of features, rather than
`rustc` feature arguments. `configureCrate` and `buildCrate` then
build the required representations as-needed.

Fixes #68978
2020-06-13 14:09:06 +02:00
..
applications gitit: init at 0.13.0.0 2020-06-12 13:21:34 +02:00
build-support buildRustCrate: set CARGO_FEATURE_* when running the build script 2020-06-13 14:09:06 +02:00
common-updater
data
desktops Merge pull request #90113 from r-ryantm/auto-update/polari 2020-06-12 13:05:46 +02:00
development gitit: init at 0.13.0.0 2020-06-12 13:21:34 +02:00
games
misc winePackages.staging: mention staging patches in description 2020-06-11 20:06:25 +02:00
os-specific linux: fix kernel config options for i686 2020-06-12 08:52:09 +02:00
servers Merge pull request #90126 from Mic92/homeassistant 2020-06-11 22:53:36 +01:00
shells nushell: 0.14.0 -> 0.15.0 2020-06-11 15:06:43 +02:00
stdenv stdenv/check-meta: alignment/width 2020-06-11 12:35:11 +10:00
test
tools Merge pull request #89964 from magnetophon/mu 2020-06-11 22:46:12 -05:00
top-level gitit: init at 0.13.0.0 2020-06-12 13:21:34 +02:00