diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-09-25 08:32:35 +0100 |
---|---|---|
committer | Raphael Megzari <raphael@megzari.com> | 2021-09-26 10:05:55 +0900 |
commit | 383b3b36d06bddd730acbb466f66af5b7bee913a (patch) | |
tree | 783826b19a52a87072e52483bed919b03244cdb9 /pkgs/applications/misc/mop | |
parent | bd2cc001bdcb0df9fa6bbc25148797442f64bc07 (diff) |
mop: fix build on bash-5
After 33518fcb453382 "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.
Diffstat (limited to 'pkgs/applications/misc/mop')
-rw-r--r-- | pkgs/applications/misc/mop/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/mop/default.nix b/pkgs/applications/misc/mop/default.nix index 007965f868b15..f31b79c9ddf41 100644 --- a/pkgs/applications/misc/mop/default.nix +++ b/pkgs/applications/misc/mop/default.nix @@ -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 |