From d9a4d942ab4b568010ff0fb97d9e3c071487a7d8 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Sat, 17 Sep 2016 10:49:23 +0800 Subject: antiword: move sed to prePatch. fixes #18627 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Bjørn: change patchPhase -> prePatch (we must not override patchPhase).] --- pkgs/applications/office/antiword/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications/office/antiword') diff --git a/pkgs/applications/office/antiword/default.nix b/pkgs/applications/office/antiword/default.nix index 4ec939a01290a..059c68b77e651 100644 --- a/pkgs/applications/office/antiword/default.nix +++ b/pkgs/applications/office/antiword/default.nix @@ -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 ''; -- cgit 1.4.1