Commit Graph

23 Commits

Author SHA1 Message Date
Pablo Ovelleiro Corral
8ed186ce55 data-mesher: init module
Co-authored-by: Brian McGee <brian@bmcgee.ie>
2025-03-29 13:49:41 +00:00
DavHau
9061c3f6aa devshells: improve select-shell 2024-08-31 17:59:54 +02:00
DavHau
6c1c615c60 devshell: remove dependency on clan-cli
This stops the devshell from being re-built constantly, when the source code changes.

Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
DavHau
dfcf4d8309 vars: init
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
Jörg Thalheim
e4a7f27b7c upgrade nix in development to latest
Better error messages!!
2024-05-31 16:37:07 +02:00
Jörg Thalheim
e23755d78e 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
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