pijul nest
guest [sign in]

Do not err when two recipes give the same output

pmeunier
Jun 8, 2025, 11:13 PM
PLQ2WBZ3PZJIKX66DPFRHRHTL2HA2ZGLJRYHUKO44JS4VT4T6YEAC

Dependencies

  • [2] ODUDDQRY Adding the OCaml interface
  • [3] UWQB743K First working shell (with ocaml code)

Change contents

  • replacement in src/extract.rs at line 451
    [2.25949][3.35346:35531](),[3.35346][3.35346:35531]()
    if dest != got {
    return Err(Error::WrongResultSymlink {
    expected: dest,
    got,
    });
    [2.25949]
    [3.35531]
    debug!("Path already exists, previous value {:?}", got);
    // This situation means that we've come to the same
    // result via different build recipes.
    /*
    if dest != got {
    return Err(Error::WrongResultSymlink {
    expected: dest,
    got,
    });
  • edit in src/extract.rs at line 461
    [3.35549]
    [3.35549]
    */