From 6b377f29687e48f37222395324d7256f17acb654 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 4 Nov 2020 20:41:07 +0000 Subject: [PATCH] ghc8102Binary*: simplify meta Not distributing dependencies via hydraPlatforms does not work, so we keep meta simple. (cherry picked from commit 4643796794897f2baa3a8015de5a9c9fd416f1ae) --- pkgs/development/compilers/ghc/8.10.2-binary.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix index 38454147e39..1a1a9ca0160 100644 --- a/pkgs/development/compilers/ghc/8.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix @@ -212,18 +212,11 @@ stdenv.mkDerivation rec { enableShared = true; }; - meta = let - platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"]; - in { + meta = { homepage = "http://haskell.org/ghc"; description = "The Glasgow Haskell Compiler"; license = stdenv.lib.licenses.bsd3; - - # The minimal variation can not be distributed because it removes the - # documentation, including licensing information that is required for - # distribution. - inherit platforms; - hydraPlatforms = stdenv.lib.optionals (!minimal) platforms; + platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"]; maintainers = with stdenv.lib.maintainers; [ lostnet ]; }; }