From cbb3f1f6082462c13e78273e5f65e23b6addba96 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 May 2024 18:50:47 +0200 Subject: move licenses check to flake --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 85f7915..64e275d 100644 --- a/flake.nix +++ b/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 -- cgit 1.4.1