nixpkgs/pkgs/build-support/rust/build-rust-crate
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
..
test buildRustCrate: added some edge cases with binaries 2018-09-13 22:00:29 +02:00
build-crate.nix buildRustCrate: pass extraRustcOpts to configure crate 2019-02-18 00:10:36 +01:00
configure-crate.nix buildRustCrate: Make CARGO_MANIFEST_DIR absolute 2019-03-03 12:02:26 +01:00
default.nix buildRustCrate: adding the description field 2019-02-25 15:22:03 +00:00
helpers.nix buildRustCrate: Fix include filter 2019-03-25 15:24:42 +01:00
install-crate.nix Rust build-support: fixing a compilation error in some crates (such as proc-macro2) 2018-11-16 12:12:59 +00:00