diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-07-18T00·16+0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-07-18T18·19+0000 |
commit | cbea59c5f65e616d5fe2a76c4577f7e806936272 (patch) | |
tree | e6bf673477b5f91b5047c7c2c2ef139715897f7e /third_party/nix/src/libstore/fs-accessor.hh | |
parent | b2e0ccfe9a0ed24f3fb09308d86c65ec3086433b (diff) |
chore(3p/nix): don't rebuild nix-proto-srcs as much r/1380
Interpolating a path into a string will copy the referenced path into the Nix store, so this got a dependency on all of src. By first constructing a path to the src/proto directory using the + operator, and then interpolating it, we limit what is copied to the store, and therefore what code triggers a nix-proto-srcs rebuild. Change-Id: I8dd750f6bc5902b74ffb56470bc8a5f2c01c8cf1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1263 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/nix/src/libstore/fs-accessor.hh')
0 files changed, 0 insertions, 0 deletions