ccache: 4.4 → 4.4.1
This commit is contained in:
parent
96e5548dfe
commit
2902a7921b
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, binutils
|
, binutils
|
||||||
, asciidoctor
|
, asciidoctor
|
||||||
|
@ -14,18 +15,25 @@
|
||||||
|
|
||||||
let ccache = stdenv.mkDerivation rec {
|
let ccache = stdenv.mkDerivation rec {
|
||||||
pname = "ccache";
|
pname = "ccache";
|
||||||
version = "4.4";
|
version = "4.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-ZewR1srksfKCxehhAg3i8m+0OvmOSF+24njbtcc1GQY=";
|
hash = "sha256-zsJoaaxYVV78vsxq2nbOh9ZAU1giKp8Kh6qJFL120CQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# Use the shell builtin pwd for the basedir test
|
||||||
|
# See https://github.com/ccache/ccache/pull/933
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/ccache/ccache/commit/58fd1fbe75a1b5dc3f9151947ace15164fdef91c.patch";
|
||||||
|
sha256 = "BoBn4YSDy8pQxJ+fQHSsrUZDBVeLFWXIQ6CunDwMO7o=";
|
||||||
|
})
|
||||||
|
|
||||||
# When building for Darwin, test/run uses dwarfdump, whereas on
|
# When building for Darwin, test/run uses dwarfdump, whereas on
|
||||||
# Linux it uses objdump. We don't have dwarfdump packaged for
|
# Linux it uses objdump. We don't have dwarfdump packaged for
|
||||||
# Darwin, so this patch updates the test to also use objdump on
|
# Darwin, so this patch updates the test to also use objdump on
|
||||||
|
|
Loading…
Reference in a new issue