diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-03 15:30:58 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-07-03 15:52:39 +0700 |
commit | 06fb9a942131c7b8a16ba2e4607b0ae8233a09a3 (patch) | |
tree | 1bd59fa4060d6c6042c2b73568eb8afa5d9fc7e3 /pkgs/development/haskell-modules/generic-builder.nix | |
parent | dd9790a83f3e88d4fc1ca809ec53a48d0d10662e (diff) | |
download | nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar.gz nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar.bz2 nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar.lz nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar.xz nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.tar.zst nixpkgs-06fb9a942131c7b8a16ba2e4607b0ae8233a09a3.zip |
haskell-generic-build: allow mainProgram to be set
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 2 |
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 2b2f23e20ea..87a30210f8c 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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; } ; } |