mirror of
https://github.com/nix-community/naersk
synced 2024-11-10 06:04:17 +00:00
Disable copyLibs by default
Most of the time we only want the executables.
This commit is contained in:
parent
20ec73e49b
commit
dcee40445c
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ it is converted to an attribute set equivalent to `{ root = theArg; }`.
|
|||
| `singleStep` | When true, no intermediary (dependency-only) build is run. Enabling `singleStep` greatly reduces the incrementality of the builds. Default: `false` |
|
||||
| `targets` | The targets to build if the `Cargo.toml` is a virtual manifest. |
|
||||
| `copyBins` | When true, the resulting binaries are copied to `$out/bin`. <br/> Note: this relies on cargo's `--message-format` argument, set in the default `cargoBuildOptions`. Default: `true` |
|
||||
| `copyLibs` | When true, the resulting binaries are copied to `$out/lib`. <br/> Note: this relies on cargo's `--message-format` argument, set in the default `cargoBuildOptions`. Default: `true` |
|
||||
| `copyLibs` | When true, the resulting binaries are copied to `$out/lib`. <br/> Note: this relies on cargo's `--message-format` argument, set in the default `cargoBuildOptions`. Default: `false` |
|
||||
| `copyBinsFilter` | A [`jq`](https://stedolan.github.io/jq) filter for selecting which build artifacts to release. This is run on cargo's [`--message-format`](https://doc.rust-lang.org/cargo/reference/external-tools.html#json-messages) JSON output. <br/> The value is written to the `cargo_bins_jq_filter` variable. Default: `''select(.reason == "compiler-artifact" and .executable != null and .profile.test == false)''` |
|
||||
| `copyLibsFilter` | A [`jq`](https://stedolan.github.io/jq) filter for selecting which build artifacts to release. This is run on cargo's [`--message-format`](https://doc.rust-lang.org/cargo/reference/external-tools.html#json-messages) JSON output. <br/> The value is written to the `cargo_libs_jq_filter` variable. Default: `''select(.reason == "compiler-artifact" and ((.target.kind | contains(["staticlib"])) or (.target.kind | contains(["cdylib"]))) and .filenames != null and .profile.test == false)''` Default: `''select(.reason == "compiler-artifact" and ((.target.kind | contains(["staticlib"])) or (.target.kind | contains(["cdylib"]))) and .filenames != null and .profile.test == false)''` |
|
||||
| `copyDocsToSeparateOutput` | When true, the documentation is generated in a different output, `doc`. Default: `true` |
|
||||
|
|
|
@ -92,7 +92,7 @@ let
|
|||
# When true, the resulting binaries are copied to `$out/lib`. <br/> Note:
|
||||
# this relies on cargo's `--message-format` argument, set in the default
|
||||
# `cargoBuildOptions`.
|
||||
copyLibs = attrs0.copyLibs or true;
|
||||
copyLibs = attrs0.copyLibs or false;
|
||||
|
||||
# A [`jq`](https://stedolan.github.io/jq) filter for selecting which build
|
||||
# artifacts to release. This is run on cargo's
|
||||
|
|
Loading…
Reference in a new issue