pub(crate) fn write_input_sources( writer: &mut impl Write, input_sources: &BTreeSet<StorePath<String>>, ) -> Result<(), Error>