summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-03-22 12:57:25 -0400
committerGitHub <noreply@github.com>2023-03-22 12:57:25 -0400
commit635998af84cca156385f649281b48f5034d8d01f (patch)
treeda5f5501df70df161a92511e075aa2f5c4a011a2
parentMerge pull request #211152 from ThibaultLemaire/stuntrally-2.7 (diff)
parentsccache: 0.3.3 -> 0.4.0 (diff)
downloadnixpkgs-635998af84cca156385f649281b48f5034d8d01f.tar.gz
Merge pull request #222353 from figsoda/sccache
-rw-r--r--pkgs/development/tools/misc/sccache/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/sccache/default.nix b/pkgs/development/tools/misc/sccache/default.nix
index 2ad51f093fcd..b862cb121811 100644
--- a/pkgs/development/tools/misc/sccache/default.nix
+++ b/pkgs/development/tools/misc/sccache/default.nix
@@ -1,24 +1,21 @@
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl, stdenv, Security }:
rustPlatform.buildRustPackage rec {
- version = "0.3.3";
+ version = "0.4.0";
pname = "sccache";
src = fetchFromGitHub {
owner = "mozilla";
repo = "sccache";
rev = "v${version}";
- sha256 = "sha256-XzAU8Rs0/Q1KvE2tF0zzv9d2/a07BzZQbVzOdrPlbSk=";
+ sha256 = "sha256-6ok8N5y/Wtz4t0414GHT7qc5D2ysw97oKASbKHPLXN8=";
};
- cargoSha256 = "sha256-r5rIuulcPB5Y4AkbUPswf3W4DZ9Pc8auzmDDvSOOZEA=";
+ cargoSha256 = "sha256-dxjVlbnewFdnO294L+9kQE8owlgyPaxepxtmC7V9nGk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
- # sccache-dist is only supported on x86_64 Linux machines.
- buildFeatures = lib.optionals (stdenv.system == "x86_64-linux") [ "dist-client" "dist-server" ];
-
# 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;