haskellPackages: add changelog argument to Haskell generic-builder.nix

changelog was recently added as a new meta field in
https://github.com/NixOS/nixpkgs/pull/60371.

This commit adds similar support to the Haskell generic builder.
This commit is contained in:
(cdep)illabout 2021-04-10 00:09:12 +09:00 committed by sterni
parent 546af13867
commit c8ac41fafc

View file

@ -51,6 +51,7 @@ in
, license
, enableParallelBuilding ? true
, maintainers ? null
, changelog ? null
, doCoverage ? false
, doHaddock ? !(ghc.isHaLVM or false)
, passthru ? {}
@ -642,6 +643,7 @@ stdenv.mkDerivation ({
// optionalAttrs (args ? description) { inherit description; }
// optionalAttrs (args ? maintainers) { inherit maintainers; }
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
// optionalAttrs (args ? changelog) { inherit changelog; }
;
}