diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-11-15 00:05:07 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-15 15:14:28 +0100 |
commit | deae39af435a3088be677dbeb88a0167fd4682c4 (patch) | |
tree | a6f6ae7d577f57042fe7ba0129089604e24d3856 | |
parent | 252d793e792eff90b11e97d03251daf65e5e506c (diff) | |
download | nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar.gz nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar.bz2 nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar.lz nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar.xz nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.tar.zst nixpkgs-deae39af435a3088be677dbeb88a0167fd4682c4.zip |
nixos/plantuml-server: use jetty_11
PlantUML Server does not support Jetty versions higher than 12.x. Jetty 12.x has introduced major breaking changes, see * https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.0 * https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12
-rw-r--r-- | nixos/modules/services/web-apps/plantuml-server.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/nixos/modules/services/web-apps/plantuml-server.nix b/nixos/modules/services/web-apps/plantuml-server.nix index e5a6f028347..4e24b3f24b1 100644 --- a/nixos/modules/services/web-apps/plantuml-server.nix +++ b/nixos/modules/services/web-apps/plantuml-server.nix @@ -24,7 +24,17 @@ in packages = { jdk = mkPackageOptionMD pkgs "jdk" { }; - jetty = mkPackageOptionMD pkgs "jetty" { }; + jetty = mkPackageOptionMD pkgs "jetty" { + default = "jetty_11"; + extraDescription = '' + At the time of writing (v1.2023.12), PlantUML Server does not support + Jetty versions higher than 12.x. + + Jetty 12.x has introduced major breaking changes, see + <https://github.com/jetty/jetty.project/releases/tag/jetty-12.0.0> and + <https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-11-to-12> + ''; + }; }; user = mkOption { @@ -40,7 +50,7 @@ in }; home = mkOption { - type = types.str; + type = types.path; default = "/var/lib/plantuml"; description = mdDoc "Home directory of the PlantUML server instance."; }; |