mop: fix build on bash-5

After 33518fcb45 "stdenv/setup.sh: fix read -N 0 for bash 5"
build started failing as:

    consumeEntire(): ERROR: Input null bytes, won't process

Let's avoid running substituteInPlace on arbitrary binary files.
This commit is contained in:
Sergei Trofimovich 2021-09-25 08:32:35 +01:00 committed by Raphael Megzari
parent bd2cc001bd
commit 383b3b36d0

View file

@ -9,7 +9,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
preConfigure = ''
for i in $(find . -type f);do
for i in *.go **/*.go; do
substituteInPlace $i --replace michaeldv/termbox-go nsf/termbox-go
done
substituteInPlace Makefile --replace mop/cmd mop/mop