mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-21 03:50:04 +03:00
79b5458138
Update materialized with new errorHandler
53 lines
2.1 KiB
Nix
53 lines
2.1 KiB
Nix
{ system
|
|
, compiler
|
|
, flags
|
|
, pkgs
|
|
, hsPkgs
|
|
, pkgconfPkgs
|
|
, errorHandler
|
|
, config
|
|
, ... }:
|
|
{
|
|
flags = {};
|
|
package = {
|
|
specVersion = "1.22";
|
|
identifier = { name = "ghc-boot"; version = "8.6.5"; };
|
|
license = "BSD-3-Clause";
|
|
copyright = "";
|
|
maintainer = "ghc-devs@haskell.org";
|
|
author = "";
|
|
homepage = "";
|
|
url = "";
|
|
synopsis = "Shared functionality between GHC and its boot libraries";
|
|
description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal.";
|
|
buildType = "Simple";
|
|
isLocal = true;
|
|
detailLevel = "FullDetails";
|
|
licenseFiles = [ "LICENSE" ];
|
|
dataDir = "";
|
|
dataFiles = [];
|
|
extraSrcFiles = [ "changelog.md" ];
|
|
extraTmpFiles = [];
|
|
extraDocFiles = [];
|
|
};
|
|
components = {
|
|
"library" = {
|
|
depends = [
|
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
|
];
|
|
buildable = true;
|
|
modules = [
|
|
"GHC/LanguageExtensions"
|
|
"GHC/PackageDb"
|
|
"GHC/Serialized"
|
|
"GHC/ForeignSrcLang"
|
|
"GHC/HandleEncoding"
|
|
];
|
|
};
|
|
};
|
|
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; } |