Skip to content

Allow 'if' for data-files section #11315

@augustss

Description

@augustss

In the MicroHs cabal file I'd like to say this

data-files:
      src/runtime/*.c
      src/runtime/*.h
if impl(ghc)
   data-files:
      lib/**/*.hs
      lib/**/*.hs-boot

But when I tried it, it didn't work. It works in MicroCabal so I've managed to hack around it, but it seems like an obvious thing that should work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions