ccache: cherry-pick a (backported upstream) bug-fix
This commit is contained in:
parent
d1cb42f297
commit
8f6ae032c0
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, runCommand, gcc, zlib }:
|
||||
{ stdenv, fetchurl, fetchpatch, runCommand, gcc, zlib }:
|
||||
|
||||
let
|
||||
name = "ccache-${version}";
|
||||
@ -13,6 +13,15 @@ stdenv.mkDerivation {
|
||||
url = "mirror://samba/ccache/${name}.tar.xz";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
sha256 = "1gwnxx1w2nx1szi0v5vgwcx9i23pxygkqqnrawhal68qgz5c34wh";
|
||||
name = "dont-update-manifest-in-readonly-modes.patch";
|
||||
# The primary git.samba.org doesn't seem to like our curl much...
|
||||
url = "https://github.com/jrosdahl/ccache/commit/a7ab503f07e31ebeaaec34fbaa30e264308a299d.patch";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user