sccache: add distributed features (dist-client, dist-server)

This commit is contained in:
unixpariah
2025-08-13 11:11:54 +02:00
committed by os1
parent 55abd9841e
commit b9e3822cf1
+6
View File
@@ -4,6 +4,7 @@
rustPlatform,
pkg-config,
openssl,
distributed ? false,
}:
rustPlatform.buildRustPackage rec {
@@ -19,6 +20,11 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-1kfKBN4uRbU5LjbC0cLgMqoGnOSEAdC0S7EzXlfaDPo=";
buildFeatures = lib.optionals distributed [
"dist-client"
"dist-server"
];
nativeBuildInputs = [
pkg-config
];