nix_compat::derivation

Function output_path_name

source
fn output_path_name(derivation_name: &str, output_name: &str) -> String
Expand description

Calculate the name part of the store path of a derivation Output.

It’s the name, and (if it’s the non-out output), the output name after a -.