ccache: update 3.2.2 -> 3.2.3
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
{ stdenv, fetchurl, runCommand, gcc, zlib }:
|
||||
|
||||
let
|
||||
# TODO: find out if there's harm in just using 'rec' instead.
|
||||
name = "ccache-${version}";
|
||||
version = "3.2.2";
|
||||
sha256 = "1jm0qb3h5sypllaiyj81zp6m009vm50hzjnx994ril94kxlrj3ag";
|
||||
version = "3.2.3";
|
||||
sha256 = "03k0fvblwqb80zwdgas8a5fjrwvghgsn587wp3lfr0jr8gy1817c";
|
||||
|
||||
ccache =
|
||||
stdenv.mkDerivation {
|
||||
@@ -14,16 +13,19 @@ stdenv.mkDerivation {
|
||||
url = "mirror://samba/ccache/${name}.tar.xz";
|
||||
};
|
||||
|
||||
patches = [ ./test-drop-perl-requirement.patch ];
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile.in --replace 'objs) $(extra_libs)' 'objs)'
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
# A derivation that provides gcc and g++ commands, but that
|
||||
# will end up calling ccache for the given cacheDir
|
||||
links = extraConfig : (runCommand "ccache-links" { passthru.gcc = gcc; passthru.isGNU = true; }
|
||||
links = extraConfig: (runCommand "ccache-links"
|
||||
{ passthru.gcc = gcc; passthru.isGNU = true; }
|
||||
''
|
||||
mkdir -p $out/bin
|
||||
if [ -x "${gcc.cc}/bin/gcc" ]; then
|
||||
|
||||
Reference in New Issue
Block a user