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-26 10:05:55 +09:00
committed by Raphael Megzari
parent bd2cc001bd
commit 383b3b36d0
+1 -1
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