andrewchambers/hermes

Option to force rebuilding?

sogaiu opened this issue · 3 comments

It might be helpful to have an option to force hermes to rebuild a package which it has already built (and still has sitting around).

When testing changes to hermes I find myself trying to rebuild an already-built package. I currently modify a .hpkg file in various ways (e.g. add an unnecessary (sh/$ ["ls"]) appropriately) as a work-around.

Note that when not developing hermes itself, It seems like less of a problem. A typical user would not need to rebuild once a successful build has happened.

That being said, I know what you mean and it can be annoying when working on hermes.

On a related note, is there a way to sort of "minimally" gc just one package (and things it depends on which aren't used elsewhere)? Perhaps that sort of thing (if it exists) might be another work-around?

"minimally" gc just one package

Ideally also fully by hand - I've had a situation in Nix where I built some package and the tools were not able to purge it later :/ (used some uncommon char in pkg name)