about summary refs log tree commit diff
path: root/pkgs/applications/office/antiword/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office/antiword/default.nix')
-rw-r--r--pkgs/applications/office/antiword/default.nix2
1 files changed, 1 insertions, 1 deletions
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
   '';