Deal with gcc_s in extra-libraries field
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 402
- Forks
- 162
- PR merge metrics
- No merged PRs in 30d
Description
The bits-extra package has gcc_s in extra-libraries field. What cabal2nix does is put gcc_s as an extra argument and makes extraLibraries = [ gcc_s ];, which doesn't work because such package doesn't exist. I am told that it instead needs to do something with NIX_LDFLAGS="-lgcc_s" and have gcc as a dependency.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how cabal2nix handles Cabal's extra-libraries field and inspect the generated Nix expression for bits-extra. The change is done when gcc_s is represented through NIX_LDFLAGS with gcc supplied as a dependency, rather than as a nonexistent extra library package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100