oraclejdk: added architecture attribute

This attribute is needed by some other packages. The lack of this
attribute makes nox-review fail on a system where
jdk = oraclejdk7;
This commit is contained in:
Bob van der Linden 2015-10-22 20:38:53 +02:00
parent 1e5415dbc5
commit 0c481966b6

View file

@ -182,6 +182,8 @@ let result = stdenv.mkDerivation rec {
passthru.home = result;
passthru.architecture = architecture;
meta = with stdenv.lib; {
license = licenses.unfree;
platforms = [ "i686-linux" "x86_64-linux" ]; # some inherit jre.meta.platforms