blob: 3b1b17fba2c7b664efb16a0a014ed6100de24ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ mkDerivation, base, lib
# GHC source tree to build ghc-toolchain from
, ghcSrc
, ghcVersion
}:
mkDerivation {
pname = "ghc-platform";
version = ghcVersion;
src = ghcSrc;
postUnpack = ''
sourceRoot="$sourceRoot/libraries/ghc-platform"
'';
libraryHaskellDepends = [ base ];
description = "Platform information used by GHC and friends";
license = lib.licenses.bsd3;
}
|