haskell-generic-build: allow mainProgram to be set
This commit is contained in:
parent
dd9790a83f
commit
06fb9a9421
1 changed files with 2 additions and 0 deletions
|
@ -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; }
|
||||
;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue