Commit ff322d9a authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Drop package self-dependencies

This occurs in iserv-bin package, which contains both a library and an executable.

See #12
parent 5b9f6e90
......@@ -42,7 +42,7 @@ cabalRules = do
depsExes = map (collectDeps . Just . snd) $ condExecutables pd
deps = concat $ depsLib : depsExes
depNames = [ unPackageName name | Dependency name _ <- deps ]
return . unwords $ pkgNameString pkg : sort depNames
return . unwords $ pkgNameString pkg : (sort depNames \\ [pkgNameString pkg])
writeFileChanged out $ unlines pkgDeps
putSuccess $ "| Successfully computed package dependencies"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment