From 8f970d09fe8e895b6bb7dbf52f80411a45504b19 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 22 Jun 2017 14:52:35 -0400 Subject: [PATCH] ghcHEAD: Actually split docs into their own output I put `outputs = ...` in the wrong spot in the last PR, oops. Sorry about that. --- pkgs/development/compilers/ghc/head.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 3e1aada22eb1..53069619ffb0 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -15,8 +15,6 @@ let version = "8.1.20170106"; rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd"; - outputs = [ "out" "doc" ]; - commonPreConfigure = '' echo ${version} >VERSION echo ${rev} >GIT_COMMIT_ID @@ -77,6 +75,8 @@ in stdenv.mkDerivation (rec { done ''; + outputs = [ "out" "doc" ]; + passthru = { inherit bootPkgs; } // stdenv.lib.optionalAttrs (targetPlatform != buildPlatform) {