[Nix-dev] How to help remedy build errors of Haskell packages in Nixpkgs

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Tue Aug 12 16:39:58 CEST 2014


On 08/12/2014 02:20 PM, emil.rangden at chas.se wrote:
> On 2014-08-10 14:40, Peter Simons wrote:
>>  - Compile errors. Some packages cannot deal with current versions of
>>    GHC and/or 3rd party dependencies. These errors manifest in the form
>>    of genuine compiler errors. Errors of this kind must almost always 
>> be
>>    fixed upstream. The way to go in this case is to file a report and 
>> to
>>    mark the package as broken in Nixpkgs.
> 
> The package taffybar is fixed by the author, but there is no new hackage
> release. Can cabal2nix deal with this somehow? The only thing I came up
> with was dumping a 90k patch in the nixpkgs repo, but that feels 
> perverse.
> 
> /Emil
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 

Mark current version as broken, ask for a release upstream, cabal2nix
the new version once that's out. It's unexpected to have known-broken
version of a package suddenly start compiling: if that version is broken
then it's broken and the author needs to release the fixes.

-- 
Mateusz K.


More information about the nix-dev mailing list