summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-01-03 13:54:07 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-01-03 13:55:26 +0100
commitb4f401104d3f00d68a42475968854fc111eb0866 (patch)
treec398be83af902087f7a011027cc2b14f6879c413 /pkgs/applications/office
parent586ceaf718e6ddced417cbcfddcba52039b4ef18 (diff)
downloadnixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar.gz
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar.bz2
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar.lz
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar.xz
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.tar.zst
nixlib-b4f401104d3f00d68a42475968854fc111eb0866.zip
Fix big-parallel usage
requiredSystemFeatures is not a meta attribute but a derivation
attribute. So "big-parallel" was being ignored on e.g. chromium,
causing it to be built (and timing out) on slow machines.

http://hydra.nixos.org/build/45819778#tabs-buildsteps
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/libreoffice/default.nix3
-rw-r--r--pkgs/applications/office/libreoffice/still.nix3
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix
index 39d4688b639e..29cc1dc118fe 100644
--- a/pkgs/applications/office/libreoffice/default.nix
+++ b/pkgs/applications/office/libreoffice/default.nix
@@ -251,6 +251,8 @@ in stdenv.mkDerivation rec {
     inherit srcs;
   };
 
+  requiredSystemFeatures = [ "big-parallel" ];
+
   meta = with lib; {
     description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org";
     homepage = http://libreoffice.org/;
@@ -258,6 +260,5 @@ in stdenv.mkDerivation rec {
     maintainers = with maintainers; [ viric raskin ];
     platforms = platforms.linux;
     hydraPlatforms = [];
-    requiredSystemFeatures = [ "big-parallel" ];
   };
 }
diff --git a/pkgs/applications/office/libreoffice/still.nix b/pkgs/applications/office/libreoffice/still.nix
index b3d69ef7f195..75d295887f63 100644
--- a/pkgs/applications/office/libreoffice/still.nix
+++ b/pkgs/applications/office/libreoffice/still.nix
@@ -254,12 +254,13 @@ in stdenv.mkDerivation rec {
     inherit srcs;
   };
 
+  requiredSystemFeatures = [ "big-parallel" ];
+
   meta = with lib; {
     description = "Comprehensive, professional-quality productivity suite (Still/stable release)";
     homepage = http://libreoffice.org/;
     license = licenses.lgpl3;
     maintainers = with maintainers; [ viric raskin ];
     platforms = platforms.linux;
-    requiredSystemFeatures = [ "big-parallel" ];
   };
 }