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
|
, buildPlatform, hostPlatform, targetPlatform
|
||||||
|
|
||||||
# build-tools
|
# build-tools
|
||||||
, bootPkgs, alex, happy
|
, bootPkgs, alex, happy, hscolour
|
||||||
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4
|
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4
|
||||||
|
|
||||||
, libffi, libiconv ? null, ncurses
|
, libffi, libiconv ? null, ncurses
|
||||||
@ -152,7 +152,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf automake m4 python3
|
perl autoconf automake m4 python3
|
||||||
ghc alex happy
|
ghc alex happy hscolour
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPlatform, hostPlatform, targetPlatform
|
, buildPlatform, hostPlatform, targetPlatform
|
||||||
|
|
||||||
# build-tools
|
# build-tools
|
||||||
, bootPkgs, alex, happy
|
, bootPkgs, alex, happy, hscolour
|
||||||
, autoconf, automake, coreutils, fetchgit, perl, python3, m4
|
, autoconf, automake, coreutils, fetchgit, perl, python3, m4
|
||||||
|
|
||||||
, libffi, libiconv ? null, ncurses
|
, libffi, libiconv ? null, ncurses
|
||||||
@ -150,7 +150,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
perl autoconf automake m4 python3
|
perl autoconf automake m4 python3
|
||||||
ghc alex happy
|
ghc alex happy hscolour
|
||||||
];
|
];
|
||||||
|
|
||||||
# For building runtime libs
|
# For building runtime libs
|
||||||
|
@ -69,13 +69,13 @@ in rec {
|
|||||||
};
|
};
|
||||||
ghc842 = callPackage ../development/compilers/ghc/8.4.2.nix rec {
|
ghc842 = callPackage ../development/compilers/ghc/8.4.2.nix rec {
|
||||||
bootPkgs = packages.ghc821Binary;
|
bootPkgs = packages.ghc821Binary;
|
||||||
inherit (bootPkgs) alex happy;
|
inherit (bootPkgs) alex happy hscolour;
|
||||||
buildLlvmPackages = buildPackages.llvmPackages_5;
|
buildLlvmPackages = buildPackages.llvmPackages_5;
|
||||||
llvmPackages = pkgs.llvmPackages_5;
|
llvmPackages = pkgs.llvmPackages_5;
|
||||||
};
|
};
|
||||||
ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec {
|
ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec {
|
||||||
bootPkgs = packages.ghc821Binary;
|
bootPkgs = packages.ghc821Binary;
|
||||||
inherit (bootPkgs) alex happy;
|
inherit (bootPkgs) alex happy hscolour;
|
||||||
buildLlvmPackages = buildPackages.llvmPackages_5;
|
buildLlvmPackages = buildPackages.llvmPackages_5;
|
||||||
llvmPackages = pkgs.llvmPackages_5;
|
llvmPackages = pkgs.llvmPackages_5;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user