bats: add missing grep dependency
This commit is contained in:
parent
244f27b4be
commit
8284f09dcd
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchzip }:
|
||||
{ stdenv, fetchzip, gnugrep }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bats-${version}";
|
||||
|
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1kkh0j2alql3xiyhw9wsvcc3xclv52g0ivgyk8h85q9fn3qdqakz";
|
||||
};
|
||||
|
||||
patchPhase = "patchShebangs ./install.sh";
|
||||
patchPhase = ''
|
||||
patchShebangs ./install.sh
|
||||
substituteInPlace ./libexec/bats-core/bats-format-tap-stream --replace grep ${gnugrep}/bin/grep
|
||||
'';
|
||||
|
||||
installPhase = "./install.sh $out";
|
||||
|
||||
|
|
Loading…
Reference in New Issue