mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 21:57:52 +03:00
fatrace: add patch to fix crash
Will be included in next release.
This commit is contained in:
parent
ddc401ed0a
commit
364181b317
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user