wcc: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch 2020-01-25 19:49:56 +01:00
parent e96a57b4d3
commit f5da399062
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation {
postPatch = ''
sed -i src/wsh/include/libwitch/wsh.h src/wsh/scripts/INDEX \
-e "s#/usr/share/wcc#$out/share/wcc#"
sed -i -e '/stropts.h>/d' src/wsh/include/libwitch/wsh.h
'';
installFlags = [ "DESTDIR=$(out)" ];