about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-21 22:22:54 +0200
committerAlan Pearce2024-04-21 22:22:54 +0200
commitffff4d09ab38e2ef3b56ee282f3cec5a558d5cc3 (patch)
treed9990f71fdb13dac711c33d2f1bf62e210ed2780
parent48c986422c8f6f08a36f1a801b7521daec787b26 (diff)
downloadwebsite-ffff4d09ab38e2ef3b56ee282f3cec5a558d5cc3.tar.lz
website-ffff4d09ab38e2ef3b56ee282f3cec5a558d5cc3.tar.zst
website-ffff4d09ab38e2ef3b56ee282f3cec5a558d5cc3.zip
ensure links aren't broken in CI
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 78fe189..aca5f7a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -48,5 +48,11 @@
               ] ++ commonShellPackages;
             };
           };
+          checks = rec {
+            default = hyperlink;
+            hyperlink = pkgs.runCommandLocal "hyperlink" { } ''
+              ${pkgs.hyperlink}/bin/hyperlink ${packages.website}
+            '';
+          };
         });
 }