Closed srid closed 1 month ago
Another benefit of providing static binary: we don't have to provide a binary cache for this repo.
A static binary would also help reduce CI times for installing omnix on GitHub Actions,
https://github.com/srid/haskell-template/actions/runs/10115656001/job/27976909384?pr=136
Just by reducing closure size.
https://github.com/srid/haskell-template/pull/137
40 seconds to install on Ubuntu,
50 seconds to install on macOS,
https://github.com/srid/haskell-template/actions/runs/10222457925/job/28287081748
What was the time before on macOS?
For Linux you mentioned it was 3 minutes (source: https://github.com/juspay/omnix/pull/158#issuecomment-2253251466).
3 minutes for both:
https://github.com/srid/haskell-template/actions/runs/10115744844/job/27977180380
So it is an improvement overall.
Once we have curl
'able install, it should reduce further I hope.
packages.omnix-cli
be statically built, both for Linux and macOS (should work on recent Mac systems we use at @juspay)With
om
being a static binary it can even introspect (https://github.com/juspay/nix-health/issues/6) and do Nix install for the user.Static binary status: