move licenses check to flake
Alan Pearce alan@alanpearce.eu
Sat, 11 May 2024 18:50:47 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M flake.nix → flake.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