aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:12:09 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:12:09 +0100
commit116e48fad3bf91ffd179c048cd0444de5a65719f (patch)
treeffcfee95aa6e96927566cadd5a0c7ca9d9aec8fe /flake.nix
parent2ba978800355189e263aa7fe13277fd62ce743bc (diff)
Merge pull request #9573 from hercules-ci/rl-next-md-frontmatter
rl-next: Fix and support markdown frontmatter syntax (cherry picked from commit 69b7876a0810269ad71807594cfd99b26cd8a5ff) Change-Id: I8bfb8967af0943080fdd70d257c34abaf0a9fedf
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 4e8b8ddb1..5d5d00e5d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -178,7 +178,7 @@
"--enable-internal-api-docs"
];
- changelog-d = pkgs.buildPackages.changelog-d;
+ changelog-d = pkgs.buildPackages.callPackage ./misc/changelog-d.nix { };
nativeBuildDeps =
[
@@ -711,6 +711,11 @@
perlBindings = self.hydraJobs.perlBindings.${system};
installTests = self.hydraJobs.installTests.${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 ${(commonDeps { inherit pkgs; }).changelog-d}/bin/changelog-d ${./doc/manual/rl-next} >$out
+ '';
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems)) {
dockerImage = self.hydraJobs.dockerImage.${system};
});