Skip to content

Commit

Permalink
Merge pull request #129093 from siraben/haskell-mainProgram
Browse files Browse the repository at this point in the history
haskell-generic-build: allow mainProgram to be set
  • Loading branch information
maralorn authored Jul 3, 2021
2 parents d364e06 + 06fb9a9 commit 1e61298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/generic-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ in
, enableParallelBuilding ? true
, maintainers ? null
, changelog ? null
, mainProgram ? null
, doCoverage ? false
, doHaddock ? !(ghc.isHaLVM or false)
, passthru ? {}
Expand Down Expand Up @@ -666,6 +667,7 @@ stdenv.mkDerivation ({
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
// optionalAttrs (args ? badPlatforms) { inherit badPlatforms; }
// optionalAttrs (args ? changelog) { inherit changelog; }
// optionalAttrs (args ? mainProgram) { inherit mainProgram; }
;

}
Expand Down

0 comments on commit 1e61298

Please sign in to comment.