all repos — website @ bfacaf987deabe8610bcd47cd0c5780b2c3b339e

My website

add and check licenses

Alan Pearce
commit

bfacaf987deabe8610bcd47cd0c5780b2c3b339e

parent

7203854714190d4adee41d56fa7872eadf77d181

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

changed files
M flake.nixflake.nix
@@ -29,6 +29,7 @@ packages = with pkgs; [
gopls gotools go-tools + go-licenses gomod2nix.packages.${system}.default gci flyctl
@@ -37,6 +38,9 @@ ${pkgs.watchexec}/bin/watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -i server.go -i public -r go run ./cmd/build'
'') (writeShellScriptBin "watch-server" '' ${pkgs.watchexec}/bin/watchexec -r -w flake.nix --shell fish 'direnv exec . watchexec -r go run ./server.go' + '') + (writeShellScriptBin "check-licenses" '' + ${pkgs.go-licenses}/bin/go-licenses check --include_tests ./... --disallowed_types=restricted,forbidden '') ] ++ nativeBuildInputs; };