haskell-generic-build: allow mainProgram to be set
This commit is contained in:
parent
dd9790a83f
commit
06fb9a9421
|
@ -52,6 +52,7 @@ in
|
||||||
, enableParallelBuilding ? true
|
, enableParallelBuilding ? true
|
||||||
, maintainers ? null
|
, maintainers ? null
|
||||||
, changelog ? null
|
, changelog ? null
|
||||||
|
, mainProgram ? null
|
||||||
, doCoverage ? false
|
, doCoverage ? false
|
||||||
, doHaddock ? !(ghc.isHaLVM or false)
|
, doHaddock ? !(ghc.isHaLVM or false)
|
||||||
, passthru ? {}
|
, passthru ? {}
|
||||||
|
@ -664,6 +665,7 @@ stdenv.mkDerivation ({
|
||||||
// optionalAttrs (args ? maintainers) { inherit maintainers; }
|
// optionalAttrs (args ? maintainers) { inherit maintainers; }
|
||||||
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
|
// optionalAttrs (args ? hydraPlatforms) { inherit hydraPlatforms; }
|
||||||
// optionalAttrs (args ? changelog) { inherit changelog; }
|
// optionalAttrs (args ? changelog) { inherit changelog; }
|
||||||
|
// optionalAttrs (args ? mainProgram) { inherit mainProgram; }
|
||||||
;
|
;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue