This builds a store path from fingerprint parts.
Usually, that function is used from build_text_path and
passed a “text hash string” (starting with “text:” as fingerprint),
but other fingerprints starting with “output:” are also used in Derivation
output path calculation.
This builds a store path, by calculating the text_hash_string of either a
derivation or a literal text file that may contain references.
If you don’t want to have to pass the entire contents, you might want to use
build_ca_path instead.
Nix placeholders (i.e. values returned by builtins.placeholder)
are used to populate outputs with paths that must be
string-replaced with the actual placeholders later, at runtime.