about summary refs log tree commit diff
path: root/nix/getBins/tests.nix
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-05-25T20·04+0300
committerIlan Joselevich <personal@ilanjoselevich.com>2024-05-26T14·27+0000
commit3ebcf30b64038198f82db4ffd109f2a0af3e0cf7 (patch)
treefb77bb274590ade91e543b58c23cc4b013cdc536 /nix/getBins/tests.nix
parentedd93b19628e655c5903dd79393e6387b23b8168 (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 'nix/getBins/tests.nix')
0 files changed, 0 insertions, 0 deletions