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

authored by

unixpariah and committed by
os1
b9e3822c 55abd984

+6
+6
pkgs/by-name/sc/sccache/package.nix
··· 4 rustPlatform, 5 pkg-config, 6 openssl, 7 }: 8 9 rustPlatform.buildRustPackage rec { ··· 18 }; 19 20 cargoHash = "sha256-1kfKBN4uRbU5LjbC0cLgMqoGnOSEAdC0S7EzXlfaDPo="; 21 22 nativeBuildInputs = [ 23 pkg-config
··· 4 rustPlatform, 5 pkg-config, 6 openssl, 7 + distributed ? false, 8 }: 9 10 rustPlatform.buildRustPackage rec { ··· 19 }; 20 21 cargoHash = "sha256-1kfKBN4uRbU5LjbC0cLgMqoGnOSEAdC0S7EzXlfaDPo="; 22 + 23 + buildFeatures = lib.optionals distributed [ 24 + "dist-client" 25 + "dist-server" 26 + ]; 27 28 nativeBuildInputs = [ 29 pkg-config