feat(marmel): add arbitrary HTTP headers patch
CI / check (push) Has been cancelled

Apply upstream 56d0b1f so top-level, specialist, validator and MCP request headers can be configured. nix build .#marmel passes with the patch.
This commit is contained in:
2026-11-09 10:03:47 +03:00
parent 44e6d90a77
commit 589936cd8d
3 changed files with 1249 additions and 7 deletions
File diff suppressed because it is too large Load Diff
+3 -6
View File
@@ -22,13 +22,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-Xw9OT8HXVlnZ0XqIMnnFwQ/y9xKxOtmcwomJsRxUx5E=";
nativeCheckInputs = [ cacert ];
# arbitrary HTTP headers for LLM and MCP requests.
patches = [ ./arbitrary-http-headers.patch ];
# Both downstream patches are gone as of b08923eaef60 ("Landlock improvements",
# Na1w/marmel#17) and 62cb75634c6e ("report missing TLS trust store instead of
# panicking", #16): upstream now lists /nix/store and /gnu/store in
# BUILTIN_READONLY_PATHS, and the HTTP client reports a missing trust store
# instead of panicking through reqwest::Client::default().
nativeCheckInputs = [ cacert ];
# The test suite exercises real HTTP round-trips against loopback servers and
# builds its `reqwest::Client`s through rustls-native-certs, which probes only