diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-05-25T20·04+0300 |
---|---|---|
committer | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-05-26T14·27+0000 |
commit | 3ebcf30b64038198f82db4ffd109f2a0af3e0cf7 (patch) | |
tree | fb77bb274590ade91e543b58c23cc4b013cdc536 /third_party/teleirc | |
parent | edd93b19628e655c5903dd79393e6387b23b8168 (diff) |
feat(tvix): filter src via lib.fileset r/8169
Previously changing any file (including default.nix or README.md) would cause Nix to compute a different derivation path, resulting in needing to (very often redundantly) rebuild the crate/package. With this change you can expect less rebuilds. Crate2nix currently does its own insufficient src filtering and it does not expose an API to override the filtering, so instead I created a function that we can use to override the src to have stricter filtering. I implemented the filtering for all of the workspace members, if you want to modify any of them, please read the lib.fileset docs https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library-fileset Change-Id: I7ab5a0064a76938d14f7f65801be9f3a5c3bad04 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11714 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'third_party/teleirc')
0 files changed, 0 insertions, 0 deletions