forked from mirrors/nixpkgs
ghc: build version >8.4 with hscolour to enable source links
Fixes https://github.com/NixOS/nixpkgs/issues/41179.
This commit is contained in:
parent
b825481578
commit
e168ae6a9d
|
@ -2,7 +2,7 @@
|
|||
, buildPlatform, hostPlatform, targetPlatform
|
||||
|
||||
# build-tools
|
||||
, bootPkgs, alex, happy
|
||||
, bootPkgs, alex, happy, hscolour
|
||||
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4
|
||||
|
||||
, libffi, libiconv ? null, ncurses
|
||||
|
@ -152,7 +152,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
perl autoconf automake m4 python3
|
||||
ghc alex happy
|
||||
ghc alex happy hscolour
|
||||
];
|
||||
|
||||
# For building runtime libs
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, buildPlatform, hostPlatform, targetPlatform
|
||||
|
||||
# build-tools
|
||||
, bootPkgs, alex, happy
|
||||
, bootPkgs, alex, happy, hscolour
|
||||
, autoconf, automake, coreutils, fetchgit, perl, python3, m4
|
||||
|
||||
, libffi, libiconv ? null, ncurses
|
||||
|
@ -150,7 +150,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
perl autoconf automake m4 python3
|
||||
ghc alex happy
|
||||
ghc alex happy hscolour
|
||||
];
|
||||
|
||||
# For building runtime libs
|
||||
|
|
|
@ -69,13 +69,13 @@ in rec {
|
|||
};
|
||||
ghc842 = callPackage ../development/compilers/ghc/8.4.2.nix rec {
|
||||
bootPkgs = packages.ghc821Binary;
|
||||
inherit (bootPkgs) alex happy;
|
||||
inherit (bootPkgs) alex happy hscolour;
|
||||
buildLlvmPackages = buildPackages.llvmPackages_5;
|
||||
llvmPackages = pkgs.llvmPackages_5;
|
||||
};
|
||||
ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec {
|
||||
bootPkgs = packages.ghc821Binary;
|
||||
inherit (bootPkgs) alex happy;
|
||||
inherit (bootPkgs) alex happy hscolour;
|
||||
buildLlvmPackages = buildPackages.llvmPackages_5;
|
||||
llvmPackages = pkgs.llvmPackages_5;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue