3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/rust
Teo Klestrup Röijezon 5eec83eb83 buildRustCrate: Fix include filter
buildRustCrate has a handy `include` helper, that only imports those whitelisted
files and folders to the store.

However, the function's matching logic is broken and includes all files,
regardless of whether or not they're whitelisted, as long as the whitelist
contains at least one name (regardless of whether that name exists). This is
because it doesn't take into account that
`lib.strings.removePrefix "foo" "bar" == "bar"` (that is, paths that don't match
the prefix are passed straight through).
2019-03-25 15:24:42 +01:00
..
build-rust-crate buildRustCrate: Fix include filter 2019-03-25 15:24:42 +01:00
cargo-vendor treewide: Remove usage of remaining redundant platform compatability stuff 2018-08-30 17:20:32 -04:00
patch-registry-deps
cargo-vendor-normalise.py fetchcargo: add type checking to cargo-vendor-normalise.py 2018-09-11 23:44:14 +02:00
carnix.nix Carnix: 0.9.7 -> 0.9.8 2019-02-24 19:29:13 +00:00
crates-io.nix Carnix: 0.9.7 -> 0.9.8 2019-02-24 19:29:13 +00:00
default-crate-overrides.nix defaultCrateOverrides: foundationdb native dependencies 2018-11-17 19:28:48 -06:00
default.nix buildRustPackage: Allow pname attribute 2019-03-01 21:48:44 -05:00
fetchcargo-default-config.toml fectchcargo: don't break old sha256 2018-09-11 23:44:14 +02:00
fetchcargo.nix fetchcargo: fixed config installation path 2018-12-14 16:23:33 +03:00
fetchcrate.nix
make-rust-platform.nix makeRustPlatform: refactor to make it easier to understand 2018-11-21 12:44:58 +00:00