1
0
forked from clan/clan-core
Commit Graph

20 Commits

Author SHA1 Message Date
5668bc561d vars: init
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
750c8df003 upgrade nix in development to latest
Better error messages!!
2024-05-31 16:37:07 +02:00
f46fd3ace6 make git-hooks opt-in
pre-commit hook break git commits and are disruptive.
Therefore people that want to enable this feature, should enable it locally instead.
I.e. treefmt will also check untracked files that are not meant for the current commit.
2024-05-27 11:08:17 +02:00
055b17c01b add pre-commit check
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.

this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.

[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-24 12:39:56 +00:00
ae7794dddd Revert "Merge pull request 'add pre-commit-check' (#1369) from fricklerhandwerk/clan-core:add-pre-commit into main"
This reverts commit acaa69e2bf, reversing
changes made to a78f5b2bec.
2024-05-22 14:31:53 +02:00
e37f7e2760 use a custom installer for pre-commit hooks 2024-05-22 11:49:57 +00:00
245b615209 add pre-commit check
make sure things are sane before they hit CI.
this re-purposes the existing treefmt configuration.
2024-05-22 11:49:57 +00:00
e296a3019d re-format with nixfmt 2024-03-17 19:48:49 +01:00
d7939e3cba add nix to devShell
It's important for some tests that package manager used inside NixOS vms is the same as outside
2024-03-17 18:31:16 +01:00
f7bb5d7aaf devshells: cleanup 2024-03-02 11:55:15 +07:00
d1e8b1ed96 devShells: one global python devshell + activation via command
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
56f135faed
add pending-reviews script 2023-11-15 13:48:52 +01:00
81bc0d7ea4 devShell: use rm -f to clean up old pre-commit file 2023-09-19 13:20:12 +02:00
f63cfb4462 replace pre-commit hook with hook in pre-create 2023-09-13 15:53:36 +02:00
6d4d455626 devShell: add treefmt 2023-08-25 21:14:23 +02:00
a328d043d9 fix evaluation of devshell 2023-08-23 14:03:24 +02:00
3ea17e1566 devshell: fix linking pre-commit 2023-08-08 13:51:54 +02:00
4affdeed5e remove nodejs from top-lvl shell 2023-08-05 12:10:58 +00:00
c9b19b5060 init: ui bootstrapping nextjs 2023-08-05 11:42:48 +02:00
b8fd28af2f move flake-parts into pkgs or toplevel 2023-08-03 17:11:36 +02:00