haskell-generic-build: allow mainProgram to be set

This commit is contained in:
Ben Siraphob 2021-07-03 15:30:58 +07:00
parent dd9790a83f
commit 06fb9a9421

View file

@ -52,6 +52,7 @@ in
, enableParallelBuilding ? true
, maintainers ? null
, changelog ? null
, mainProgram ? null
, doCoverage ? false
, doHaddock ? !(ghc.isHaLVM or false)
, passthru ? {}
@ -664,6 +665,7 @@ stdenv.mkDerivation ({
// optionalAttrs (args ? maintainers) { inherit maintainers; }
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
// optionalAttrs (args ? changelog) { inherit changelog; }
// optionalAttrs (args ? mainProgram) { inherit mainProgram; }
;
}