Commit Graph
6 Commits
Author SHA1 Message Date
Erwan Leboucher 06895c0b4c fix(ci): expand bot git identity vars and format altstore source with oxfmt 2026-07-31 08:47:32 +02:00
hazre be30629d99 ci: update actions
Signed-off-by: hazre <[email protected]>
2026-07-25 11:22:51 +02:00
hazre 3d0b992a1a chore(ci): update ci to use mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:51 -05:00
hazre e065fa674a fix(ci): pin actions correctly
Signed-off-by: hazre <[email protected]>
2026-07-20 19:21:21 +02:00
hazre f1a93cb087 fix(ci): use GitHub App bot identity for flake-lock-fix workflow 2026-05-13 01:00:59 +02:00
Flori Ava Star Weber f13280710e feat: add nix flake
this nix flake is heavily based off of prior work i have done in one of my
repos. it comes with the following features:

- building sable: `nix build .#sable` or just `nix build`. creates a `result/`
  dir with the built application.
- devshell: nix users now no longer need to do download and install all the
  dependencies for sable by themselves. the devshell comes with all the
  dependencies needed to develop sable
- checks: `nix flake check` is configured to perform all checks listed in
  `CONTRIBUTING.md` (fmt:check, lint, typecheck, knip, test:run)
- formatting: `nix fmt` runs all the formatters pnpm would also call, but
  provides a more familiar interface for nix users.
- pre-commit checks: nix users can benefit from having their changes checked for
  before the commit goes through. yay :3

`.vscode/settings.json` was updated to include hints for VS Code users using the
"nix env selector" extension to auto-detect the nix dev environment, if you have
nix installed.

I had to change `oxfmt.config.ts` just a tiny bit to make it work with the nix
stuff, because `node_modules` does not exist inside the nix build sandbox. `pnpm
fmt` successfully runs, so nothing should have broken.

`flake-lock-fix.yml` is a small workflow heavily based on
<https://docs.determinate.systems/guides/fix-hashes/>, which triggers on pushes
to `dev` which change `pnpm-lock.yaml`. The workflow uses `determinate-nixd` to
fix hashes in the `flake.nix`, then pushes the changes to `dev` automatically.
2026-05-08 18:04:24 +02:00