misc nix CI fixes that might speed it up a bit

Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay>
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
June Clementine Strawberry 2025-01-28 19:25:56 -05:00 committed by strawberry
parent eb7d893c86
commit 8658a4c2d0
No known key found for this signature in database
7 changed files with 65 additions and 31 deletions

View file

@ -20,11 +20,11 @@ pub(super) async fn serve(
let certs = tls
.certs
.as_ref()
.ok_or(err!(Config("tls.certs", "Missing required value in tls config section")))?;
.ok_or_else(|| err!(Config("tls.certs", "Missing required value in tls config section")))?;
let key = tls
.key
.as_ref()
.ok_or(err!(Config("tls.key", "Missing required value in tls config section")))?;
.ok_or_else(|| err!(Config("tls.key", "Missing required value in tls config section")))?;
// we use ring for ruma and hashing state, but aws-lc-rs is the new default.
// without this, TLS mode will panic.