haskell / haskell/cabal

Conditional data-files

Open
#10,555 1 comment 0 reactions 0 assignees View on GitHub
type: user-question
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the conditional data-files configuration described in the issue with cabal-install 3.12.1.0 and the Cabal library version listed. Read the existing Cabal package-configuration documentation and behavior around conditional fields. Done means establishing whether compiler-dependent data-files are supported and, if not, defining the required change clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.