Commit 7f0938ff authored by Doron Behar's avatar Doron Behar
Browse files

sccache: format expression

parent d844f009
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl, stdenv, Security }:
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, stdenv
, Security
}:

rustPlatform.buildRustPackage rec {
  version = "0.7.5";
@@ -13,11 +20,17 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-VdI39DgQrUZhoawMqBC6ngTvldW+QbDjMjxjjbH9G1A=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
  nativeBuildInputs = [
    pkg-config
  ];
  buildInputs = [
    openssl
  ] ++ lib.optionals stdenv.isDarwin [
    Security
  ];

  # Tests fail because of client server setup which is not possible inside the pure environment,
  # see https://github.com/mozilla/sccache/issues/460
  # Tests fail because of client server setup which is not possible inside the
  # pure environment, see https://github.com/mozilla/sccache/issues/460
  doCheck = false;

  meta = with lib; {