haskell / haskell/hackage-server

Editing cabal file rejected due to unfixable syntax-error

Open
#291 2 comments 0 reactions 1 assignee Claimed by @dcoutts View on GitHub
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I tried adding an upper bound `primitive < 0.5` (since compilation of `hashtables-1.0.0.0` fails due to the `memsetByteArray` operation which was removed in `primitive-0.5`) via

http://hackage.haskell.org/package/hashtables-1.0.0.0/hashtables.cabal/edit

But then Hackage server complains about

```
New parse warning: hashtables-1.0.0.0.cabal: Unexpected section 'cpp-options' on line 173
```

which is due to the line

```
cpp-options = -DUNSAFETRICKS
```

fixing the `=` into `:` however let's Hackage complain that

```
Cannot change build information (just the dependency version constraints)
```

...so is there anything that can be done?

/cc @gregorycollins

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.