diff options
| author | Daniël de Kok <me@danieldk.eu> | 2020-06-12 17:09:45 +0200 |
|---|---|---|
| committer | Daniël de Kok <me@danieldk.eu> | 2020-06-13 14:09:06 +0200 |
| commit | fe50bab788fd4f4fa58ca22996bcefc2724d0d40 (patch) | |
| tree | 68179daf119d0ca87b26e9e30f5748b1e72b98a4 /pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | |
| parent | 91340aeea87aa25f8265b0a69af88d7d36fcf04f (diff) | |
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
Diffstat (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch')
0 files changed, 0 insertions, 0 deletions
