mold
mold copied to clipboard
Add Nix CI
Let me know what you think. Closes #81
Obviously, every change to the source will result in having to rebuild everything. However, at the moment, the whole repository is marked as source. This means that even non-code changes or build artifacts will trigger a rebuild. This is not a real problem for the CI, but may be annoying when doing local development.
Having the relevant sources in one folder would make it a lot easier to only select source files for the build input.
Thanks for the review. The hashes are indeed a problem. People are already working on this, see for example https://github.com/NixOS/rfcs/pull/62, but it's a really hard problem so it will take some time.
My packaging of mold was mostly copied from an earlier version of the nixpkgs packaging PR. I pinged you there, please have a look at it.
It looks like CI failed. Can you take a look?
Silly mistake, I should have tried it out locally. It's a bit annoying that you have to enable the CI for my PR every time I push :(
@piegamesde I simply submit a PR to my own fork to test, that way I don't have to wait on approval during testing.