From 6ef4781050c2fa7fd89bcce0bd1f427b8f864a77 Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 17 May 2024 03:41:05 -0400 Subject: [PATCH] downgrade zlib/libz-sys to 1.1.16 as it breaks nix Signed-off-by: strawberry --- Cargo.lock | 6 ++++-- Cargo.toml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ca6400371..a7934719a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -592,6 +592,7 @@ dependencies = [ "ipaddress", "itertools", "jsonwebtoken", + "libz-sys", "log", "loole", "lru-cache", @@ -1816,11 +1817,12 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.17" +version = "1.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0078520875cbd94735b332bca766d640ca0754e5419dce654dcee9115c4239f0" +checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" dependencies = [ "cc", + "libc", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index aa9d81078..d7b9454b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,9 @@ edition = "2021" rust-version = "1.77.0" [dependencies] +# 1.1.17 seems broken on nix from a permission error? +libz-sys = "=1.1.16" + console-subscriber = { version = "0.2", optional = true } infer = { version = "0.15", default-features = false }