ghcHEAD: Split docs into their own output
This ghc was forgetten from 2089dd4ab6be089bda12a942846ab7954b28b459
This commit is contained in:
parent
0d4431cfe9
commit
dd99d1f8d0
@ -15,6 +15,8 @@ let
|
|||||||
version = "8.1.20170106";
|
version = "8.1.20170106";
|
||||||
rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd";
|
rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd";
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
commonPreConfigure = ''
|
commonPreConfigure = ''
|
||||||
echo ${version} >VERSION
|
echo ${version} >VERSION
|
||||||
echo ${rev} >GIT_COMMIT_ID
|
echo ${rev} >GIT_COMMIT_ID
|
||||||
@ -48,6 +50,7 @@ in stdenv.mkDerivation (rec {
|
|||||||
configureFlags = [
|
configureFlags = [
|
||||||
"CC=${stdenv.cc}/bin/cc"
|
"CC=${stdenv.cc}/bin/cc"
|
||||||
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
|
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
|
||||||
|
"--datadir=$doc/share/doc/ghc"
|
||||||
] ++ stdenv.lib.optional (! enableIntegerSimple) [
|
] ++ stdenv.lib.optional (! enableIntegerSimple) [
|
||||||
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
|
"--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin [
|
] ++ stdenv.lib.optional stdenv.isDarwin [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user