Fix haskell package finding.
This commit is contained in:
parent
9ec80081e0
commit
3dd8e6d814
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ def resolve_cmake_file_req(apt_mgr, req):
|
|||
|
||||
|
||||
def resolve_haskell_package_req(apt_mgr, req):
|
||||
path = "/var/lib/ghc/package\\.conf\\.d/%s-.*\\.conf" % re.escape(req.deps[0][0])
|
||||
path = "/var/lib/ghc/package\\.conf\\.d/%s-.*\\.conf" % re.escape(req.package)
|
||||
return find_reqs_simple(apt_mgr, [path], regex=True)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue