Skip to content

haskell/generic-builder: __structuredAttrs breaks configureFlags for extra-{include,lib,framework}-dirs #427273

@bacchanalia

Description

@bacchanalia

When __structuredAttrs = true; the configureFlags var is an array, which means that when setupCompilerEnvironmentPhase uses appendToVar for --extra-include-dirs, --extra-lib-dirs and --extra-framework-dirs, those values are dropped because $configureFlages in the configurePhase only returns the first element.

__structuredAttrs also can break some checks, such as on cabal2nix because LANG and LOCALE_ARCHIVE are not exported.

It would be nice if __structuredAttrs worked because you need it for per output outputChecks when using enableSeparateBinOutput.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: haskellGeneral-purpose, statically typed, purely functional programming language

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions