@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, perl, makeWrapper, procps }:
1+{ fetchurl, stdenv, perl, makeWrapper, procps, coreutils }:
22
33stdenv.mkDerivation rec {
44 name = "parallel-20200822";
@@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
88 sha256 = "02dy46g6f05p7s2qs8h6yg20p1zl3flxxf77n5jw74l3h1m24m4n";
99 };
1010
11+ patches = [
12+ ./fix-max-line-length-allowed.diff
13+ ];
14+
15+ postPatch = ''
16+ substituteInPlace src/parallel --subst-var-by coreutils ${coreutils}
17+ '';
18+
1119 outputs = [ "out" "man" ];
1220
1321 nativeBuildInputs = [ makeWrapper ];