From 6fbdf41b0584d46d626fd5d76852d821bcdc2764 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 4 Jul 2019 15:55:13 +0100 Subject: feat(build): Introduce pre-packaged GHC with dependencies via Nix 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. --- WORKSPACE | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'WORKSPACE') 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", ) -- cgit 1.4.1