Commit graph

15 commits

Author SHA1 Message Date
Robert Hensing
c62dabf959 dev: pre-commit.{installationScript -> shellHook}
Installs the file and pre-commit command on PATH in one go.
2026-01-17 16:27:02 +01:00
Robert Hensing
c01638c246 dev: Configure cargo-publish 2026-01-12 23:56:07 +01:00
Robert Hensing
41a71b8e34 dev: Adjust shell
- pre-commit shellHook doesn't add itself to PATH anymore
- rust shellHook from module is now picked up by inputsFrom iiuc
- add treefmt wrapper
2025-12-09 23:02:42 +01:00
Robert Hensing
4a1889fb0c maint: Move treefmt to dev partition
Moves treefmt-nix input and configuration from the main flake to the
dev partition, since it's a development-only dependency. Also switches
pre-commit hooks from individual formatter hooks to the unified treefmt
hook for better consistency.
2025-12-06 12:04:26 +01:00
John Ericson
cfda626614 Format, and keep formatted 2025-12-05 16:55:09 -05:00
Robert Hensing
db84b15d8f maint: Fix warnings 2025-10-27 14:52:48 +01:00
Robert Hensing
26b7cb2116 feat: Expose module for setting up the build and test environment. 2025-10-27 14:52:48 +01:00
Robert Hensing
55eacf43c3 maint: Move to /rust/* to /
This makes it easier for tooling to find the Rust stuff.
Rust/non-rust is not a useful distinction in this repo anymore anyway.
2025-10-26 23:29:13 +01:00
Robert Hensing
4b13929db3 maint: Update first of the month 2025-10-04 02:31:17 +02:00
Robert Hensing
206a4ca7c5 maint: Auto-update flake
(cherry picked from commit 975d1a7193f7ed1ee8456b909637fb078046db41)
2025-10-04 02:31:17 +02:00
Robert Hensing
83dece62b2 chore: Apply nixfmt
(cherry picked from commit d11c2029c5a33ec522f46dd3e00fec8db2c3729b)
2025-10-04 02:31:16 +02:00
Robert Hensing
eba8c06c9d chore: Configure nixfmt
(cherry picked from commit 3ed92195dfcd4c3a86f1d77c464967531851f85c)
2025-10-04 02:31:16 +02:00
Robert Hensing
32136109fc maint: Ask GCC for system headers
In the previous update commit, the Nix `cc.version` didn't match the
in-output directory name anymore, causing a build failure.

By asking GCC properly, we are robust against such discrepancies.

The script isn't great, relying on GCC "log" output specifics, but it
seems that the GCC output has been like this for a while, and the
lines before and after seem to be intentional about their purpose...

(cherry picked from commit 68f928555660cb914105b0ad668d6cadc25223e9)
2025-10-04 02:31:16 +02:00
Robert Hensing
bd8ebcbb01 dev: Add hercules-ci-effects dev input
(cherry picked from commit 85f10d0410a061f151722042924afc8523869aa7)
2025-10-04 02:31:16 +02:00
Robert Hensing
7918175c24 refact: Move dev-only dependencies into separate lock file
(cherry picked from commit ddf306bb9564a43fb42ab4321b390e766254f1c4)
2025-10-04 02:31:16 +02:00