### Build Caddy with Plugins using Nixpkgs Source: https://nixos.org/manual/nixpkgs/stable/release-notes Use `caddy.withPlugins` to build Caddy with custom plugins. Omit the hash initially to get the correct value during the build failure. Ensure all plugins have versions or tags. ```nix let pkgs = import { }; in pkgs.caddy.withPlugins { plugins = [ # tagged upstream "github.com/caddy-dns/powerdns@v1.0.1" # pseudo-version number generated by Go "github.com/caddy-dns/cloudflare@v0.0.0-20240703190432-89f16b99c18e" "github.com/mholt/caddy-webdav@v0.0.0-20241008162340-42168ba04c9d" ]; hash = "sha256-wqXSd1Ep9TVpQi570TTb96LwzNYvWL5EBJXMJfYWCAk="; } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.