summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/generic-builder.nix
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2021-04-10 00:09:12 +0900
committersterni <sternenseemann@systemli.org>2021-04-09 21:32:00 +0200
commitc8ac41fafcbb938efbd1dd819eb318f15187530b (patch)
tree5beeef1b5a2267a8751bdefac66d46e7a08b3e38 /pkgs/development/haskell-modules/generic-builder.nix
parent546af13867871c4f9fa1929b08a262775782c6fe (diff)
downloadnixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar.gz
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar.bz2
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar.lz
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar.xz
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.tar.zst
nixpkgs-c8ac41fafcbb938efbd1dd819eb318f15187530b.zip
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.
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r--pkgs/development/haskell-modules/generic-builder.nix2
1 files changed, 2 insertions, 0 deletions
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; }
          ;
 
 }