Commit 52d5403b authored by George Macon's avatar George Macon
Browse files

parallel: add gawk to wrapper path

Parallel uses awk to implement the --memfree option.
parent cd3c88ad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ fetchurl, lib, stdenv, perl, makeWrapper, procps, coreutils, buildPackages }:
{ fetchurl, lib, stdenv, perl, makeWrapper, procps, coreutils, gawk, buildPackages }:

stdenv.mkDerivation rec {
  pname = "parallel";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

  postInstall = ''
    wrapProgram $out/bin/parallel \
      --prefix PATH : "${lib.makeBinPath [ procps perl coreutils ]}"
      --prefix PATH : "${lib.makeBinPath [ procps perl coreutils gawk ]}"
  '';

  doCheck = true;