Skip to content

Commit

Permalink
wpsoffice: ignore build root references
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 11, 2017
1 parent 27b92b1 commit 78dd422
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/office/wpsoffice/default.nix
Expand Up @@ -17,7 +17,7 @@ in stdenv.mkDerivation rec{
"0mi3n9kplf82gd0g2m0np957agy53p4g1qh81pbban49r4n0ajcz" else
"1dk400ap5qwdhjvn8lnk602f5akayr391fkljxdkrpn5xac01m97";
};

meta = {
description = "Office program originally named Kingsoft Office";
homepage = http://wps-community.org/;
Expand All @@ -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
Expand Down

0 comments on commit 78dd422

Please sign in to comment.