haskellPackages.mighttpd2: unbreak and adopt

This commit is contained in:
sternenseemann
2025-08-12 01:18:50 +02:00
parent 19fae07daa
commit b0820d6fb5
4 changed files with 18 additions and 3 deletions

View File

@@ -3882,7 +3882,6 @@ broken-packages:
- midi-utils # failure in job https://hydra.nixos.org/build/233222257 at 2023-09-02 - midi-utils # failure in job https://hydra.nixos.org/build/233222257 at 2023-09-02
- midisurface # failure in job https://hydra.nixos.org/build/233224559 at 2023-09-02 - midisurface # failure in job https://hydra.nixos.org/build/233224559 at 2023-09-02
- mig-swagger-ui # failure in job https://hydra.nixos.org/build/295095369 at 2025-04-22 - mig-swagger-ui # failure in job https://hydra.nixos.org/build/295095369 at 2025-04-22
- mighttpd2 # failure in job https://hydra.nixos.org/build/233213125 at 2023-09-02
- mikmod # failure in job https://hydra.nixos.org/build/233247364 at 2023-09-02 - mikmod # failure in job https://hydra.nixos.org/build/233247364 at 2023-09-02
- mikrokosmos # failure in job https://hydra.nixos.org/build/233232143 at 2023-09-02 - mikrokosmos # failure in job https://hydra.nixos.org/build/233232143 at 2023-09-02
- miku # failure in job https://hydra.nixos.org/build/233212186 at 2023-09-02 - miku # failure in job https://hydra.nixos.org/build/233212186 at 2023-09-02

View File

@@ -513,6 +513,7 @@ package-maintainers:
- regex-rure - regex-rure
- jacinda - jacinda
- citeproc - citeproc
- mighttpd2
# owothia # owothia
- irc-client - irc-client
- chatter - chatter

View File

@@ -1755,6 +1755,22 @@ builtins.intersectAttrs super {
''; '';
}) super.wai-app-file-cgi; }) super.wai-app-file-cgi;
# All flags are off by default
mighttpd2 = lib.pipe super.mighttpd2 [
# Library shouldn't increase closure size of resulting daemon and utility executables
enableSeparateBinOutput
# Enable all possible features
(enableCabalFlag "dhall")
(addBuildDepends [ self.dhall ])
(enableCabalFlag "tls")
(addBuildDepends [
self.warp-tls
self.tls
])
# Can't build quic with Stackage LTS at the moment (random >= 1.3, tls >= 2.1.10)
(disableCabalFlag "quic")
];
# Makes the mpi-hs package respect the choice of mpi implementation in Nixpkgs. # Makes the mpi-hs package respect the choice of mpi implementation in Nixpkgs.
# Also adds required test dependencies for checks to pass # Also adds required test dependencies for checks to pass
mpi-hs = mpi-hs =

View File

@@ -443515,8 +443515,7 @@ self: {
testToolDepends = [ hspec-discover ]; testToolDepends = [ hspec-discover ];
description = "High performance web server on WAI/warp"; description = "High performance web server on WAI/warp";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none; maintainers = [ lib.maintainers.sternenseemann ];
broken = true;
} }
) { }; ) { };