Main highlights of this update are changes to hackage2nix
already in effect in unstable nixpkgs today:
- Automatic population of
meta.mainProgram
if possible, also works withcabal2nix
of course. - More expressive
meta.{platforms,badPlatforms}
handling which hopefully makeshaskellPackages
more maintainable going forward.
Notable changes for regular users of cabal2nix
:
-
hpack
is only used if no cabal file is available. This reduces the build dependency closure of packages that usehpack
and check in the generated cabal file, avoiding discrepancies tocabal-install
’s behavior and preventing errors wherehpack
bails out when re-generating the cabal file. - Packages with unknown (to cabal2nix) licenses are now considered free by default.
- Support for the system dependency
webkit24x-gtk*
has been removed. - System dependency resolution for Lua has changed, please see the changelog.
Also refer to the full changelog, especially if you rely on the exposed API!
The release will be available in nixpkgs channels in approximately 1-2 weeks.