Unverified Commit dddae5b3 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

anubis: link NixOS test (#405931)

parents 9f048ce9 12feab27
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildNpmPackage,
  fetchFromGitHub,
  nix-update-script,
  nixosTests,
  stdenv,

  esbuild,
@@ -78,7 +79,10 @@ buildGoModule (finalAttrs: {
    export DONT_USE_NETWORK=1
  '';

  passthru.updateScript = nix-update-script { };
  passthru = {
    tests = { inherit (nixosTests) anubis; };
    updateScript = nix-update-script { };
  };

  meta = {
    description = "Weighs the soul of incoming HTTP requests using proof-of-work to stop AI crawlers";