about summary refs log tree commit diff
path: root/third_party/git/builtin/init-db.c
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-03-30T11·31+0200
committerclbot <clbot@tvl.fyi>2023-03-30T14·03+0000
commit6454769eefc6be2bc3f7351f915ca0be37e07541 (patch)
tree380b0ea6dbf54e4cc7b19f415cf22c6736ae9c7e /third_party/git/builtin/init-db.c
parent971080c9120725c0bec21ea2e5e14847b0e996e6 (diff)
refactor(tvix/nix-compat): drop is_derivation in build_store_path r/6058
This only added a suffix to the input argument, if build_store_path was
building the path of a Derivation.

As we need to also add the `.drv` suffix to the name we pass into
text_hash_string inside calculate_derivation_path, we can simply add the
suffix there and drop the parameter from build_store_path.

Change-Id: Icd5343dd1458f112b9296b389e81ce2ebdd16a9f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8365
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/git/builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions