[Hackage] #849: [PATCH] Store licenses in text files instead of code.
Hackage
cvs-ghc at haskell.org
Sun Jun 19 10:17:06 CEST 2011
#849: [PATCH] Store licenses in text files instead of code.
---------------------------------+------------------------------------------
Reporter: refold | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
---------------------------------+------------------------------------------
Comment(by refold):
Replying to [comment:6 refold]:
> Since `cabal-install` already depends on `bytestring`, we can then use
`unsafePackCStringLen` and ByteString I/O functions for outputting the
license file.
After looking at how ByteString I/O is implemented: converting to
ByteString is actually not needed, we can just use `hPutBuf`.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/849#comment:7>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list