mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
wtk: Use meta.platforms to check for supported platform
This makes top-level attribute evaluate
This commit is contained in:
parent
12e32d6dbb
commit
88142110d0
|
@ -1,7 +1,5 @@
|
|||
{ lib, stdenv, requireFile, unzip, xorg }:
|
||||
|
||||
assert stdenv.hostPlatform.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sun-java-wtk";
|
||||
version = "2.5.2_01";
|
||||
|
@ -23,5 +21,6 @@ stdenv.mkDerivation rec {
|
|||
description = "Sun Java Wireless Toolkit 2.5.2_01 for CLDC";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = lib.licenses.unfree;
|
||||
platforms = [ "i686-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue