PostProcess: Configure testTarget for hoogle to disable network access
commit28c7211850dc548e882ec18e6398e96f5371ef04
authorPeter Simons <simons@cryp.to>
dateFri 3 Jan 2014, 11:54 (13 years ago)
parentac7cb42
src/Cabal2Nix/PostProcess.hs+1
@@ -42,6 +42,7 @@ postProcess deriv@(MkDerivation {..})
4242 | pname == "highlighting-kate"= highlightingKatePostProcessing deriv
4343 | pname == "HList" = deriv { buildTools = "diffutils":buildTools }
4444 | pname == "hmatrix" = deriv { extraLibs = "gsl":"liblapack":"blas":extraLibs }
45+ | pname == "hoogle" = deriv { testTarget = "--test-option=--no-net" }
4546 | pname == "hspec" = deriv { doCheck = False }
4647 | pname == "idris" = deriv { buildTools = "happy":buildTools, extraLibs = "gmp":"boehmgc":extraLibs }
4748 | pname == "language-c-quote" = deriv { buildTools = "alex":"happy":buildTools }