git.iko.soy/typeable/cabal2nix
on master help sign in
zip-archive: fix missing test suite dependency on 'which'
da47f40Peter Simons
src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs+1
@@ -182,6 +182,7 @@ hooks =
182 , ("xmonad >= 0.14.2", set phaseOverrides xmonadPostInstall)
182 , ("xmonad >= 0.14.2", set phaseOverrides xmonadPostInstall)
183 , ("zip-archive < 0.3.1", over (testDepends . tool) (replace (self "zip") (pkg "zip")))
183 , ("zip-archive < 0.3.1", over (testDepends . tool) (replace (self "zip") (pkg "zip")))
184 , ("zip-archive >= 0.3.1 && < 0.3.2.3", over (testDepends . tool) (Set.union (Set.fromList [pkg "zip", pkg "unzip"]))) -- https://github.com/jgm/zip-archive/issues/35
184 , ("zip-archive >= 0.3.1 && < 0.3.2.3", over (testDepends . tool) (Set.union (Set.fromList [pkg "zip", pkg "unzip"]))) -- https://github.com/jgm/zip-archive/issues/35
185+ , ("zip-archive >= 0.4", set (testDepends . tool . contains (pkg "which")) True)
185 ]
186 ]
186
187
187pkg :: Identifier -> Binding
188pkg :: Identifier -> Binding