chrra / iCalendar

iCalendar data types, parser, and printer.
BSD 3-Clause "New" or "Revised" License
38 stars 47 forks source link

Nix support #15

Closed adinapoli closed 9 years ago

adinapoli commented 10 years ago

This is a superset of #14 , so closing this will close both.

It simply add a default.nix targeting the new iCalendar release. I'm pretty new to the whole nix business, perhaps @ocharles could doublecheck this? It's a run-of-the-mill nix file generated by cabal2nix, but the "networkUri" dep was made explicit as apparently cabal2nix doesn't recognise flags (at least disabled ones) in a cabal manifest.

Alfredo

ocharles commented 10 years ago

Looks fine to me! You can specify flags using configureFlags = "-ffoo -fbar", if you need to.

adinapoli commented 10 years ago

Ah, nice to know, thanks!