Merge pull request #49261 from holidaycheck/fix-bats
bats: add missing grep dependency
This commit is contained in:
commit
6e677351aa
@ -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
Block a user