diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2017-06-17 15:13:01 -0400 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2017-06-17 15:13:43 -0400 |
commit | dd99d1f8d0b8391e3a8057dceae11f71fff07ee9 (patch) | |
tree | ac29add79996803b4de4ff22259d00912c62c817 /pkgs/development/compilers/ghc | |
parent | 0d4431cfe90b2242723ccb1ccc90714f2f68a609 (diff) | |
download | nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar.gz nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar.bz2 nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar.lz nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar.xz nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.tar.zst nixlib-dd99d1f8d0b8391e3a8057dceae11f71fff07ee9.zip |
ghcHEAD: Split docs into their own output
This ghc was forgetten from 2089dd4ab6be089bda12a942846ab7954b28b459
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/head.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 006a9f8fbc46..3e1aada22eb1 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -15,6 +15,8 @@ let version = "8.1.20170106"; rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd"; + outputs = [ "out" "doc" ]; + commonPreConfigure = '' echo ${version} >VERSION echo ${rev} >GIT_COMMIT_ID @@ -48,6 +50,7 @@ in stdenv.mkDerivation (rec { configureFlags = [ "CC=${stdenv.cc}/bin/cc" "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib" + "--datadir=$doc/share/doc/ghc" ] ++ stdenv.lib.optional (! enableIntegerSimple) [ "--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib" ] ++ stdenv.lib.optional stdenv.isDarwin [ |