1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

ccache: cherry-pick a (backported upstream) bug-fix

This commit is contained in:
Tobias Geerinckx-Rice 2016-01-04 15:03:42 +01:00
parent d1cb42f297
commit 8f6ae032c0

View file

@ -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 = ''