Skip to content

How to set ghc-options for whole package set? #871

@phile314

Description

@phile314

For our production deployment, we would like to compile all packages with -O2. As far as I can see, the ghcOptions ( https://input-output-hk.github.io/haskell.nix/reference/modules/#packagespackageghcoptions ) can only be set per-package. Is there an easy way to compile a complete package set with -O2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions