diff options
Diffstat (limited to 'pkgs/tools/text/gnugrep/builder.sh')
-rwxr-xr-x | pkgs/tools/text/gnugrep/builder.sh | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/tools/text/gnugrep/builder.sh b/pkgs/tools/text/gnugrep/builder.sh index 3453b5b0cb878..cb2c91a6b078a 100755 --- a/pkgs/tools/text/gnugrep/builder.sh +++ b/pkgs/tools/text/gnugrep/builder.sh @@ -1,10 +1,14 @@ -#! /bin/sh +#! /bin/sh -e +set -x +export NIX_DEBUG=1 buildinputs="$pcre" -. $stdenv/setup || exit 1 +. $stdenv/setup -tar xvfj $src || exit 1 -cd grep-* || exit 1 -./configure --prefix=$out || exit 1 -make || exit 1 -make install || exit 1 +echo $NIX_LDFLAGS + +tar xvfj $src +cd grep-* +./configure --prefix=$out +make +make install |