git.iko.soy/typeable/cabal2nix
on master help sign in
Cabal2Nix/Package.hs: dropped obsolete simplify function
commitc320238ff5afa559e160596aa87857438293af19 authorPeter Simons <simons@cryp.to> dateSun 7 Aug 2011, 14:06 (15 years ago) parent357770c
1 file changed−5
src/Cabal2Nix/Package.hs−5
src/Cabal2Nix/Package.hs−5
@@ -120,8 +120,3 @@ cabal2nix cabal sha256 platforms maintainers =
120120
121121unDep :: Dependency -> String
122122unDep (Dependency (PackageName x) _) = x
123−
124−simplify :: CondTree ConfVar [Dependency] a -> CondTree ConfVar [Dependency] ()
125−simplify (CondNode _ deps nodes) = CondNode () deps (map simp nodes)
126− where
127− simp (cond,tree,mtree) = (cond, simplify tree, maybe Nothing (Just . simplify) mtree)