fatrace: add patch to fix crash

Will be included in next release.
This commit is contained in:
Tobias Geerinckx-Rice 2016-04-25 13:26:16 +02:00
parent ddc401ed0a
commit 364181b317
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3, which }:
{ stdenv, fetchurl, fetchpatch, python3, which }:
stdenv.mkDerivation rec {
name = "fatrace-${version}";
@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "1f77v222nlfbf8fv7d28cnpm7x8xz0mhxavgz19c2jc51pjlv84s";
};
patchFlags = "-p0";
patches = [
(fetchpatch {
sha256 = "0gym1zg42vb4czpbkz4shnc7z3lskn1ny6dpx10ykwf145xyf9m2";
name = "fatrace-fix-crash-when-using-p-option.patch";
url = "http://bazaar.launchpad.net/~pitti/fatrace/trunk/diff/67?context=3";
})
];
buildInputs = [ python3 which ];
postPatch = ''