diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-03-18 23:03:48 -0700 |
---|---|---|
committer | jade <lix@jade.fyi> | 2024-03-27 03:52:57 +0000 |
commit | 50c6feeb7747f8fd36aad801b7225552b0481dab (patch) | |
tree | fc48c70b4539e7bf4e44a24165d6a09f1b88bd9a | |
parent | 0436f4cfa69b3c4441b14633c22a463325792f9b (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.nix | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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}; }); |