[darcs-devel] [patch1908] WIP: drop custom Setup.hs

Ganesh Sittampalam bugs at darcs.net
Tue Sep 3 16:32:37 UTC 2019


Ganesh Sittampalam <ganesh at earth.li> added the comment:

> I meant using darcs as a "local package" as described here:
> 
> https://cabal.readthedocs.io/en/latest/nix-local-build.html#specifying-the-local-packages
> 
> This has never worked without disabling the custom build of the man page.

Interesting, I'm fairly sure I've done it without disabling that. But I
can't remember the details now. If we are going to keep Setup.hs for a
long time I can check.

[distros]
> I have no idea what features they use. Asking doesn't hurt, does it?

I guess not. What distros do we care about: Debian, NixOS, ...?

> That is horrible. I can't believe there is no MAPI library on hackage
> that we could use.

>> Agreed we should be able to move that kind of logic into the cabal file
>> if we need it at all. I'd have to do more research to know whether MAPI
>> is actually worthwhile at all though.

Wikipedia suggests it's only used with Exchange servers in practice, or
maybe the other Microsoft email clients. But
http://kb.mozillazine.org/MAPI_Support suggests that Thunderbird does
have MAPI support, albeit possibly buggy, so maybe it is somewhat
portable. Personally I use Thunderbird.

Looks like Win32 supports it:

http://hackage.haskell.org/package/Win32-2.2.0.0/docs/System-Win32-SimpleMAPI.html

And in theory we already have our own C bindings in
src/win32/send_email{.h,c}.

I guess you're not in a good position to try this out though :-) I'll
have a bit of a play.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1908>
__________________________________


More information about the darcs-devel mailing list