diff options
author | Vincent Ambo <tazjin@google.com> | 2019-07-04T14·55+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-07-04T14·55+0100 |
commit | 6fbdf41b0584d46d626fd5d76852d821bcdc2764 (patch) | |
tree | a5b7b165de0ed5bef4191dc38d9f25776247440e /WORKSPACE | |
parent | ca549e4edc55aabdd2ca38193f3049424f56ee02 (diff) |
feat(build): Introduce pre-packaged GHC with dependencies via Nix r/21
This uses the Nix infrastructure's Haskell setup to create a GHC derivation that comes with all required Haskell packages, fetched & built via Nix. Downstream packages that want to make use of Haskell dependencies need them to be added to this list.
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/WORKSPACE b/WORKSPACE index c06fcc2ed3c4..54bd542f3b8d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -41,7 +41,12 @@ load( "haskell_register_ghc_nixpkgs", ) +# Register a Haskell toolchain with all required external +# dependencies. +# +# All dependencies need to be set up in thirdParty.ghc in default.nix haskell_register_ghc_nixpkgs( - version = "8.6.4", - repositories = { "nixpkgs": "default.nix" } + version = "8.6.5", + repositories = { "nixpkgs": "default.nix" }, + attribute_path = "thirdParty.ghc", ) |