acl: patchShebangs before build to avoid /bin/sh dependency.

install.sh depends on bashisms. https://nix-cache.s3.amazonaws.com/log/zczav3lw4pdzjy3ilqz9mng539xca5bi-acl-2.2.52.drv.
This commit is contained in:
Shea Levy 2018-03-01 06:40:59 -05:00
parent cd843345ff
commit fa3c86e196
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
echo "Removing C++-style comments from include/acl.h"
sed -e '/^\/\//d' -i include/acl.h
patchShebangs .
'';
configureFlags = [ "MAKE=make" "MSGFMT=msgfmt" "MSGMERGE=msgmerge" "XGETTEXT=xgettext" "ZIP=gzip" "ECHO=echo" "SED=sed" "AWK=gawk" ];