diff --git a/Distribution/ArchLinux/CabalTranslation.hs b/Distribution/ArchLinux/CabalTranslation.hs index 9bd9a63..d7295aa 100644 --- a/Distribution/ArchLinux/CabalTranslation.hs +++ b/Distribution/ArchLinux/CabalTranslation.hs @@ -205,7 +205,8 @@ stubPackageLibrary _ = emptyPkgBuild { "http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz" , arch_build = [ "cd ${srcdir}/${_hkgname}-${pkgver}" - , "runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs --enable-shared" + , "runhaskell Setup configure -O --enable-split-objs --enable-shared \\" + , " --prefix=/usr --docdir=/usr/share/doc/${pkgname} --libsubdir=\\$compiler/site-local/\\$pkgid" , "runhaskell Setup build" , "runhaskell Setup haddock" , "runhaskell Setup register --gen-script"