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:
parent
bd2cc001bd
commit
383b3b36d0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue