[commit: ghc] wip/nfs-locking: Fix cabalName in libraryPackage. (ba209b9)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:55:16 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/ba209b90b53ff9b6bfe32f4f890fc2911c274122/ghc

>---------------------------------------------------------------

commit ba209b90b53ff9b6bfe32f4f890fc2911c274122
Author: Andrey Mokhov <andrey.mokhov at ncl.ac.uk>
Date:   Mon Feb 9 15:14:08 2015 +0000

    Fix cabalName in libraryPackage.


>---------------------------------------------------------------

ba209b90b53ff9b6bfe32f4f890fc2911c274122
 src/Package/Base.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Package/Base.hs b/src/Package/Base.hs
index 076bc2a..7f310d1 100644
--- a/src/Package/Base.hs
+++ b/src/Package/Base.hs
@@ -84,7 +84,7 @@ libraryPackage name cabalName stages settings =
     Package
         name
         (unifyPath $ "libraries" </> name)
-        (unifyPath $ "libraries" </> name </> cabalName <.> "cabal")
+        cabalName
         [ (stage
         , if stage == Stage0 then "dist-boot" else "dist-install"
         , settings stage)



More information about the ghc-commits mailing list