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

@ -42,6 +42,10 @@ in stdenv.mkDerivation rec{
dontPatchELF = true; dontPatchELF = true;
# wpsoffice uses `/build` in its own build system making nix things there
# references to nix own build directory
noAuditTmpdir = true;
installPhase = '' installPhase = ''
prefix=$out/opt/kingsoft/wps-office prefix=$out/opt/kingsoft/wps-office
mkdir -p $prefix mkdir -p $prefix