parallel: add gawk to wrapper path

Parallel uses awk to implement the --memfree option.
This commit is contained in:
George Macon 2023-10-12 11:28:11 -04:00
parent cd3c88ad04
commit 52d5403bee

View File

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, perl, makeWrapper, procps, coreutils, buildPackages }: { fetchurl, lib, stdenv, perl, makeWrapper, procps, coreutils, gawk, buildPackages }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "parallel"; pname = "parallel";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
wrapProgram $out/bin/parallel \ wrapProgram $out/bin/parallel \
--prefix PATH : "${lib.makeBinPath [ procps perl coreutils ]}" --prefix PATH : "${lib.makeBinPath [ procps perl coreutils gawk ]}"
''; '';
doCheck = true; doCheck = true;