nix-prefetch-git: add gawk to PATH

The prefetch script requires awk to be in PATH and fails otherwise.

Fixes #79968
This commit is contained in:
Andreas Rammhold 2020-02-13 12:16:38 +01:00 committed by Benno Fünfstück
parent 7a708a3f7c
commit b9f176a719

View file

@ -1,5 +1,5 @@
{ stdenv, makeWrapper, buildEnv,
git, subversion, mercurial, bazaar, cvs, gnused, coreutils, nix, findutils
bazaar, coreutils, cvs, findutils, gawk, git, gnused, mercurial, nix, subversion
}:
let mkPrefetchScript = tool: src: deps:
@ -28,7 +28,7 @@ let mkPrefetchScript = tool: src: deps:
in rec {
nix-prefetch-bzr = mkPrefetchScript "bzr" ../../../build-support/fetchbzr/nix-prefetch-bzr [ bazaar ];
nix-prefetch-cvs = mkPrefetchScript "cvs" ../../../build-support/fetchcvs/nix-prefetch-cvs [ cvs ];
nix-prefetch-git = mkPrefetchScript "git" ../../../build-support/fetchgit/nix-prefetch-git [ git coreutils findutils ];
nix-prefetch-git = mkPrefetchScript "git" ../../../build-support/fetchgit/nix-prefetch-git [ coreutils findutils gawk git ];
nix-prefetch-hg = mkPrefetchScript "hg" ../../../build-support/fetchhg/nix-prefetch-hg [ mercurial ];
nix-prefetch-svn = mkPrefetchScript "svn" ../../../build-support/fetchsvn/nix-prefetch-svn [ subversion ];