Function tvix_glue::fetchurl::fetchurl_derivation_to_fetch

source ·
pub(crate) fn fetchurl_derivation_to_fetch(
    drv: &Derivation
) -> Result<(String, Fetch), Error>
Expand description

Takes a derivation produced by a call to builtin:fetchurl and returns the synthesized Fetch for it, as well as the name.