Mon Sep 29 13:24:05 CEST 2008 [EMAIL PROTECTED]
* don't try to find Paths_$pkg module when creating sdist
New patches:
[don't try to find Paths_$pkg module when creating sdist
[EMAIL PROTECTED] {
hunk ./Distribution/Simple/SrcDist.hs 308
- autogenFile = autogenModulesDir </> autogenModuleName pkg <.> "hs"
- -- the Paths_$pkgname module might be in the modules list. If it
- -- turns out that resolves to the actual autogen file then we filter
+ autogenModule = autogenModuleName pkg
+ -- the Paths_$pkgname module might be in the modules list. We filter
hunk ./Distribution/Simple/SrcDist.hs 311
- sources <- filter (/=autogenFile) `fmap` sequence
+ sources <- sequence
hunk ./Distribution/Simple/SrcDist.hs 315
- | module_ <- modules ++ otherModules bi ]
+ | module_ <-filter (/= autogenModule) (modules ++ otherModules bi) ]
}
Context:
[TAG 1.4.0.2
Duncan Coutts <[EMAIL PROTECTED]>**20080826204909]
Patch bundle hash:
a06597bb2db3e9ebac6a50bde4a49e0825d82774
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel