Bug#1120778: "cabal unpack foo" adds MSDOS/Windows carriage returns (^M)
Nicholas D Steeves
sten at debian.org
Sun Nov 16 02:41:12 GMT 2025
Package: cabal-debian
Severity: normal
X-Debbugs-Cc: sten at debian.org
Control: block 1120777 by -1
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.
Best,
Nicholas
More information about the Pkg-haskell-maintainers
mailing list