haskellPackages.warp: stop including Paths_ module by default
This was made possible to disable, which we should really probably just do. It might make some HTTP servers not return their version in a header, but that feels like an antipattern anyhow. See: https://github.com/yesodweb/wai/pull/1044 See: https://github.com/NixOS/nixpkgs/blob/ecdb2e3a81213177cde9ce769e5f086ff24387b6/pkgs/development/haskell-modules/configuration-darwin.nix#L363-L372
This commit is contained in:
@@ -503,8 +503,12 @@ builtins.intersectAttrs super {
|
||||
# Tries accessing the GitHub API
|
||||
github-app-token = dontCheck super.github-app-token;
|
||||
|
||||
# The curl executable is required for withApplication tests.
|
||||
warp = addTestToolDepend pkgs.curl super.warp;
|
||||
warp = lib.pipe super.warp [
|
||||
# The curl executable is required for withApplication tests.
|
||||
(addTestToolDepend pkgs.curl)
|
||||
# Avoids much closure size of downstream deps on macOS: https://github.com/yesodweb/wai/pull/1044
|
||||
(disableCabalFlag "include-warp-version")
|
||||
];
|
||||
|
||||
lz4-frame-conduit = addTestToolDepends [ pkgs.lz4 ] super.lz4-frame-conduit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user