Commit Graph
27 Commits
Author SHA1 Message Date
lunar-seal f21b9411b2 fix(flake): make flake build android/desktop/web 2026-08-13 17:00:45 +02:00
sable-actions[bot] 27315ec132 chore(nix): auto-fix nix hashes 2026-08-13 11:22:06 +00:00
sable-actions[bot] 997aba24c0 chore(nix): auto-fix nix hashes 2026-08-13 09:59:00 +00:00
sable-actions[bot] b08122c041 chore(nix): auto-fix nix hashes 2026-08-13 06:36:55 +00:00
sable-actions[bot] d606fa20b3 chore(nix): auto-fix nix hashes 2026-08-13 01:49:18 +00:00
Evelyn Gordon ed15185c3c Fix android tauri build on NixOS through flake.nix 2026-08-11 00:35:30 -05:00
7w1 fb7fc11cd4 Add mise to flake.nix (#1699)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

internal

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-10 20:33:35 +00:00
sable-actions[bot] e8d0f29be2 chore(nix): auto-fix nix hashes 2026-08-09 16:17:49 +00:00
Delta 3dc70a3104 Add mise to flake.nix 2026-08-09 09:35:04 +01:00
sable-actions[bot] 617f231a8a chore(nix): auto-fix nix hashes 2026-08-08 20:12:06 +00:00
illuc 828d538ea8 nix: updated the pnpm deps hash 2026-08-04 21:17:04 +03:00
illuc 5cfed8ac52 Ran nix fmt to make treefmt happy 2026-08-04 21:07:02 +03:00
Erwan Leboucher e41569b31d revert: bundle PulseAudio for CEF 2026-08-04 14:51:53 +02:00
Erwan Leboucher 8bd58334ef fix(linux): bundle PulseAudio for CEF 2026-07-30 11:03:24 +02:00
hazre 0e72405875 feat: unify product name and build flavor across builds
Signed-off-by: hazre <[email protected]>
2026-07-26 13:32:41 -05:00
niki bbc4ca695a Add RUST_SRC in flake 2026-07-19 01:06:27 +02:00
Erwan Leboucher 78c9b528bc feat(tauri): apply niki's tauri fixes; render mxc emoji/reactions via renderable urls 2026-07-17 14:28:54 +02:00
sable-actions[bot] d57d7881c4 chore(nix): auto-fix nix hashes 2026-07-11 20:39:40 +00:00
sable-actions[bot] 4e608c119a chore(nix): auto-fix nix hashes 2026-07-04 05:16:50 +00:00
sable-actions[bot] dbd0968230 chore(nix): auto-fix nix hashes 2026-07-02 03:13:56 +00:00
sable-actions[bot] 2cbd5cf924 chore(nix): auto-fix nix hashes 2026-06-19 22:21:15 +00:00
sable-actions[bot] 15e266f095 chore(nix): auto-fix nix hashes 2026-06-19 18:47:13 +00:00
sable-actions[bot] 68c6457cba chore(nix): auto-fix nix hashes 2026-06-17 22:10:39 +00:00
sable-actions[bot] 6c63cf9dcf chore(nix): auto-fix nix hashes 2026-06-16 23:16:39 +00:00
sable-actions[bot] ee46df2e9e chore(nix): auto-fix nix hashes 2026-06-12 21:43:41 +00:00
sable-actions[bot] 92ac8957f8 chore(nix): auto-fix nix hashes 2026-05-13 01:42:09 +00: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