blob: 035fee7aca806504eac8c404307ef7a79530a9ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ mkDerivation, base, directory, filepath, ghc-platform, lib
, process, text, transformers
# GHC source tree to build ghc-toolchain from
, ghcVersion
, ghcSrc
}:
mkDerivation {
pname = "ghc-toolchain";
version = ghcVersion;
src = ghcSrc;
postUnpack = ''
sourceRoot="$sourceRoot/utils/ghc-toolchain"
'';
libraryHaskellDepends = [
base directory filepath ghc-platform process text transformers
];
description = "Utility for managing GHC target toolchains";
license = lib.licenses.bsd3;
}
|