aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-18 23:03:48 -0700
committerjade <lix@jade.fyi>2024-03-27 03:52:57 +0000
commit50c6feeb7747f8fd36aad801b7225552b0481dab (patch)
treefc48c70b4539e7bf4e44a24165d6a09f1b88bd9a
parent0436f4cfa69b3c4441b14633c22a463325792f9b (diff)
Add release notes system for dev facing release notes
We keep changing dev stuff and we probably should keep the news up to date? Change-Id: I819da6a29f1c56c8ab8d758c159a9c96164cb04e
-rw-r--r--flake.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 0b7d8dc14..253e16116 100644
--- a/flake.nix
+++ b/flake.nix
@@ -279,18 +279,21 @@
};
};
- checks = forAllSystems (system: {
+ checks = forAllSystems (system: let
+ rl-next-check = name: dir:
+ let pkgs = nixpkgsFor.${system}.native;
+ in pkgs.buildPackages.runCommand "test-${name}-release-notes" { } ''
+ LANG=C.UTF-8 ${lib.getExe pkgs.build-release-notes} ${dir} >$out
+ '';
+ in {
# FIXME(Qyriad): remove this when the migration to Meson has been completed.
mesonBuild = self.hydraJobs.mesonBuild.${system};
mesonBuildClang = self.hydraJobs.mesonBuildClang.${system};
binaryTarball = self.hydraJobs.binaryTarball.${system};
perlBindings = self.hydraJobs.perlBindings.${system};
nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system};
- rl-next =
- let pkgs = nixpkgsFor.${system}.native;
- in pkgs.buildPackages.runCommand "test-rl-next-release-notes" { } ''
- LANG=C.UTF-8 ${lib.getExe pkgs.build-release-notes} ${./doc/manual/rl-next} >$out
- '';
+ rl-next = rl-next-check "rl-next" ./doc/manual/rl-next;
+ rl-next-dev = rl-next-check "rl-next-dev" ./doc/manual/rl-next-dev;
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
dockerImage = self.hydraJobs.dockerImage.${system};
});