From c8ac41fafcbb938efbd1dd819eb318f15187530b Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sat, 10 Apr 2021 00:09:12 +0900 Subject: [PATCH] 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. --- pkgs/development/haskell-modules/generic-builder.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 582cf6df010..faf80da0c7d 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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; } ; }