From e922b6b0a2f40b4906274dc1acc2906c1e8b9a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 17 Sep 2015 20:17:12 +0200 Subject: [PATCH] oracle{jdk,jre}: add meta.platforms to fix #9786 It won't be built by Hydra anyway due to being unfree. --- pkgs/development/compilers/oraclejdk/jdk-linux-base.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix index c5588787922..f4944e45c0e 100644 --- a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix +++ b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix @@ -182,6 +182,9 @@ let result = stdenv.mkDerivation rec { passthru.home = result; - meta.license = stdenv.lib.licenses.unfree; + meta = with stdenv.lib; { + license = licenses.unfree; + platforms = [ "i686-linux" "x86_64-linux" ]; # some inherit jre.meta.platforms + }; }; in result