diff options
| author | Ian Lynagh <igloo@earth.li> | 2008-06-26 20:27:49 +0000 |
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2008-06-26 20:27:49 +0000 |
| commit | a11bb49b97eaba892730baf1565e922715dbc07f (patch) | |
| tree | b9ebdf37ef6329cd8c836aec5a2aca78b55ba70a /libraries/installPackage.hs | |
| parent | abd113f06ebf3ac29f852e80c5a8c0060f979202 (diff) | |
| download | haskell-a11bb49b97eaba892730baf1565e922715dbc07f.tar.gz | |
Follow Cabal changes
Diffstat (limited to 'libraries/installPackage.hs')
| -rw-r--r-- | libraries/installPackage.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/installPackage.hs b/libraries/installPackage.hs index 00560a7fc9..8c6600952e 100644 --- a/libraries/installPackage.hs +++ b/libraries/installPackage.hs @@ -60,7 +60,7 @@ doInstall verbosity ghcpkg ghcpkgconf destdir topdir -- This is an almighty hack. We need to register -- ghc-prim:GHC.Prim, but it doesn't exist, get built, get -- haddocked, get copied, etc. - pd_reg = if pkgName (package pd) == "ghc-prim" + pd_reg = if packageName pd == PackageName "ghc-prim" then case library pd of Just lib -> let ems = "GHC.Prim" : exposedModules lib |
