You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your question?
I need to install different data-files depending on a condition (in my case which compiler it is).
I tried using an if, but that doesn't seem to work.
Is there no way to do this? Or am I just being stupid?
System information
cabal-install version 3.12.1.0
compiled using version 3.12.1.0 of the Cabal library
The text was updated successfully, but these errors were encountered:
I haven't tested this but from the docs it looks like conditionals are not available for data-files:
Conditional blocks may appear anywhere inside a component or common section.
SOURCE: Conditional Blocks.
# https://github.com/haskell/cabal/pull/9153/files- Conditional blocks may appear anywhere inside a library or executable+ Conditional blocks may appear anywhere inside a component or common
What is your question?
I need to install different
data-files
depending on a condition (in my case which compiler it is).I tried using an
if
, but that doesn't seem to work.Is there no way to do this? Or am I just being stupid?
System information
cabal-install version 3.12.1.0
compiled using version 3.12.1.0 of the Cabal library
The text was updated successfully, but these errors were encountered: