about summary refs log tree commit diff
path: root/pkgs/games/0ad
diff options
context:
space:
mode:
authorCharlotte Van Petegem <charlotte.vanpetegem@ugent.be>2021-08-09 21:59:56 +0200
committerCharlotte Van Petegem <charlotte@vanpetegem.me>2021-08-10 09:37:34 +0200
commitdfe3b739c72b934f2be4ed78f191f6fda717f4cc (patch)
tree39ffbd837087693712edff5e3958fd7da7cab34e /pkgs/games/0ad
parent7b554c947764b14cec5d6b839a6d52666190e223 (diff)
zeroad: make sure hydra builds zeroad-unwrapped
Hydra hasn't built zeroad since the 0.0.24 bump:
https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.zeroad.x86_64-linux/all
This is due to the data package becoming larger than the output
limit. Even though the data package is already marked with
`hydraPlatforms = [];`, hydra still tried to build it, since it is a
dependency of `zeroad`. This makes it so `zeroad` isn't built by hydra
either. Only `zeroad-unwrapped` (which takes significant compilation
time) will be built by hydra.
Diffstat (limited to 'pkgs/games/0ad')
-rw-r--r--pkgs/games/0ad/wrapper.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/0ad/wrapper.nix b/pkgs/games/0ad/wrapper.nix
index ede151307d553..3511dc0bed498 100644
--- a/pkgs/games/0ad/wrapper.nix
+++ b/pkgs/games/0ad/wrapper.nix
@@ -4,7 +4,6 @@ assert zeroad-unwrapped.version == zeroad-data.version;
 
 buildEnv {
   name = "zeroad-${zeroad-unwrapped.version}";
-  inherit (zeroad-unwrapped) meta;
 
   nativeBuildInputs = [ makeWrapper ];
 
@@ -18,4 +17,8 @@ buildEnv {
         --set ZEROAD_ROOTDIR "$out/share/0ad"
     done
   '';
+
+  meta = zeroad-unwrapped.meta // {
+    hydraPlatforms = [];
+  };
 }