reassign 1120778 cabal-install
quit

package-plan/README.txt says one should use "cabal unpack foo" to get
the source that is used to create the package-plan's copy of quilt
patches for foo.  Unfortunately, these patches cannot be applied to
the Debian upstream source, because "cabal unpack foo" corrupts the
upstream source by adding MSDOS/Windows carriage returns (^M).  I
encountered this issue when I tried to apply the package-plan
hledger-ui quilt series to haskell-hledger-ui.  The patch does not
apply.

I think what `cabal unpack` is doing is downloading 
https://hackage.haskell.org/package/hledger-ui-1.50.2/hledger-ui-1.50.2.tar.gz 
and then overwriting hledger-ui.cabal from the tarball (which has proper line 
endings) with 
https://hackage.haskell.org/package/hledger-ui-1.50.2/hledger-ui.cabal (which 
does not).

Reply via email to