update nixpkgs, pre-commit-hooks

the devshell no longer worked for us due to the recent deprecations :D
let's update pre-commit too because while it doesn't fail it does warn

Change-Id: Ic2060c82e4e97bb7a96cebd29097abefabdfe733
This commit is contained in:
eldritch horrors
2026-02-02 15:08:49 +01:00
parent 64d610fddc
commit 576ff2f598
4 changed files with 15 additions and 11 deletions
+3 -3
View File
@@ -42,7 +42,7 @@ pre-commit-run {
"file"
];
excludes = [
''^lix/pch/.*$''
"^lix/pch/.*$"
''\.gen\.hh$''
];
pass_filenames = false; # this will automatically format everything in the stage area of Git.
@@ -110,7 +110,7 @@ pre-commit-run {
"header"
];
excludes = [
''^lix/pch/.*$''
"^lix/pch/.*$"
# generated files; these will never actually be seen by this
# check, and are left here as documentation
''(parser|lexer)-tab\.hh$''
@@ -130,7 +130,7 @@ pre-commit-run {
enable = true;
stages = [ "pre-commit" ];
excludes = [
''^tests/functional/lang/''
"^tests/functional/lang/"
"^tests/functional2/.+\\.exp"
"^tests/functional2/.+\\.nix"
''\.patch$''