Merge pull request #117237 from siraben/sccache-platforms

sccache: remove platforms and fix darwin build
This commit is contained in:
Sandro 2021-03-22 21:46:12 +01:00 committed by GitHub
commit 04bd5af2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1cfdwf00jgwsv0f72427asid1xr57s56jk5xj489dgppvgy7wdbj";
cargoBuildFlags = [ "--features=dist-client,dist-server" ];
cargoBuildFlags = lib.optionals (!stdenv.isDarwin) [ "--features=dist-client,dist-server" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
@ -27,6 +27,5 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/mozilla/sccache";
maintainers = with maintainers; [ doronbehar ];
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
};
}