aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-04-07 20:05:19 -0700
committerJade Lovelace <lix@jade.fyi>2024-04-08 15:40:12 -0700
commit06f17a5c78c33120afd71a94f907bfdabd5c40aa (patch)
tree881e7af117ed774480b586decabce89f64b99330 /flake.nix
parent6fcab7ee9528123e0f115e6d79ea694bca6cd426 (diff)
release-notes: check with pre-commit
This required making the build-release-notes script understand how to check multiple directories. Change-Id: I057f5f636155ab6c6fb5755da5217b7e72249ece
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b8a5da33f..56dd4bfc3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -344,6 +344,15 @@
enable = true;
excludes = [ "^tests/functional/lang/" ];
};
+ release-notes = {
+ enable = true;
+ package = pkgs.build-release-notes;
+ files = "^doc/manual/rl-next(-dev)?";
+ pass_filenames = false;
+ entry = ''
+ ${lib.getExe pkgs.build-release-notes} doc/manual/rl-next doc/manual/rl-next-dev
+ '';
+ };
# TODO: Once the test suite is nicer, clean up and start
# enforcing trailing whitespace on tests that don't explicitly
# check for it.