wpsoffice: ignore build root references

This commit is contained in:
Joerg Thalheim 2017-11-11 10:16:20 +00:00
parent 27b92b1d39
commit 78dd4225e7

View File

@ -17,7 +17,7 @@ in stdenv.mkDerivation rec{
"0mi3n9kplf82gd0g2m0np957agy53p4g1qh81pbban49r4n0ajcz" else
"1dk400ap5qwdhjvn8lnk602f5akayr391fkljxdkrpn5xac01m97";
};
meta = {
description = "Office program originally named Kingsoft Office";
homepage = http://wps-community.org/;
@ -42,6 +42,10 @@ in stdenv.mkDerivation rec{
dontPatchELF = true;
# wpsoffice uses `/build` in its own build system making nix things there
# references to nix own build directory
noAuditTmpdir = true;
installPhase = ''
prefix=$out/opt/kingsoft/wps-office
mkdir -p $prefix