diff --git a/pkgs/applications/office/wpsoffice/default.nix b/pkgs/applications/office/wpsoffice/default.nix index 76ecdcb8abb8e..aa39ea13cd2dc 100644 --- a/pkgs/applications/office/wpsoffice/default.nix +++ b/pkgs/applications/office/wpsoffice/default.nix @@ -151,8 +151,7 @@ stdenv.mkDerivation rec{ done for i in $out/share/applications/*;do substituteInPlace $i \ - --replace /usr/bin $out/bin \ - --replace /opt/kingsoft/wps-office $prefix + --replace /usr/bin $out/bin done '';