all repos — website @ cbb3f1f6082462c13e78273e5f65e23b6addba96

My website

move licenses check to flake
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 18:50:47 +0200
commit

cbb3f1f6082462c13e78273e5f65e23b6addba96

parent

4fced5c6ea1a3bf56778e88b91d5c82a66807caf

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M flake.nixflake.nix
@@ -50,6 +50,10 @@ };           };
           checks = rec {
             default = hyperlink;
+            licenses = pkgs.runCommandLocal "go-licenses" { } ''
+              ${pkgs.go-licenses}/bin/go-licenses check ./...
+              touch $out
+            '';
             hyperlink = pkgs.runCommandLocal "hyperlink" { } ''
               ${pkgs.hyperlink}/bin/hyperlink ${packages.website}/website/public
               touch $out