antiword: move sed to prePatch. fixes #18627

[Bjørn: change patchPhase -> prePatch (we must not override patchPhase).]
This commit is contained in:
Kranium Gikos Mendoza 2016-09-17 10:49:23 +08:00 committed by Bjørn Forsman
parent c5b7d262e5
commit d9a4d942ab

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "1b7mi1l20jhj09kyh0bq14qzz8vdhhyf35gzwsq43mn6rc7h0b4f";
};
preInstall = ''
prePatch = ''
sed -i -e "s|/usr/local/bin|$out/bin|g" -e "s|/usr/share|$out/share|g" Makefile antiword.h
'';