diff options
author | Alan Pearce | 2024-05-11 18:50:47 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-11 18:50:47 +0200 |
commit | cbb3f1f6082462c13e78273e5f65e23b6addba96 (patch) | |
tree | 7fb3c8280b1c6931430eb28db47f2d021f95fd4b /flake.nix | |
parent | 4fced5c6ea1a3bf56778e88b91d5c82a66807caf (diff) | |
download | website-cbb3f1f6082462c13e78273e5f65e23b6addba96.tar.lz website-cbb3f1f6082462c13e78273e5f65e23b6addba96.tar.zst website-cbb3f1f6082462c13e78273e5f65e23b6addba96.zip |
move licenses check to flake
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 |