2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
19 lines
514 B
Nix
19 lines
514 B
Nix
{ 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;
|
|
}
|