Commit Graph

17 Commits

Author SHA1 Message Date
Valentin Gagarin
ff5f55e779 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
Qubasa
dcf98a93ee Revert "Merge pull request 'add pre-commit-check' (#1369) from fricklerhandwerk/clan-core:add-pre-commit into main"
This reverts commit 4c4afe8028, reversing
changes made to 2785f59960.
2024-05-22 14:31:53 +02:00
Valentin Gagarin
63b2ffc6c2 use a custom installer for pre-commit hooks 2024-05-22 11:49:57 +00:00
Valentin Gagarin
29d713e44e 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
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
Jörg Thalheim
81bd63fe8b 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
DavHau
b542412247 devshells: cleanup 2024-03-02 11:55:15 +07:00
DavHau
148e8b0ac0 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
Jörg Thalheim
a25c597f92 add pending-reviews script 2023-11-15 13:48:52 +01:00
Jörg Thalheim
81bc0d7ea4 devShell: use rm -f to clean up old pre-commit file 2023-09-19 13:20:12 +02:00
Jörg Thalheim
f63cfb4462 replace pre-commit hook with hook in pre-create 2023-09-13 15:53:36 +02:00
DavHau
6d4d455626 devShell: add treefmt 2023-08-25 21:14:23 +02:00
Jörg Thalheim
a328d043d9 fix evaluation of devshell 2023-08-23 14:03:24 +02:00
Jörg Thalheim
3ea17e1566 devshell: fix linking pre-commit 2023-08-08 13:51:54 +02:00
Johannes Kirschbauer
4affdeed5e remove nodejs from top-lvl shell 2023-08-05 12:10:58 +00:00
Johannes Kirschbauer
c9b19b5060 init: ui bootstrapping nextjs 2023-08-05 11:42:48 +02:00
lassulus
b8fd28af2f move flake-parts into pkgs or toplevel 2023-08-03 17:11:36 +02:00