{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreic7p3fr55uvxn6cnopmqpwecloera2ij3fu4fgfdk344zceyktlle",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mpmixslgqdg2"
},
"path": "/t/cabal-add-extend-cabal-build-depends-from-the-command-line/7911?page=2#post_22",
"publishedAt": "2026-07-01T21:18:03.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"cabal-add-0.2.1",
"cabal-install-parsers"
],
"textContent": "…and another release, cabal-add-0.2.1. This drops a dependency on `cabal-install-parsers` and now uses `cabal-install` proper. It would be nice if someone gives the new release a spin with `--project-file`, as this is the functionality affected.\n\nWe used cabal-install-parsers to parse `cabal.project` and determine which Cabal files are listed there. Unfortunately, `cabal-install-parsers` fell behind `Cabal-syntax` and, more importantly, the syntax of `cabal.project` files has been recently extended with imports and conditionals, making it difficult for third-party tools to cope. I managed to use `cabal-install` as a library for this purpose, although its interface is far from being convenient for this task or stable across releases.",
"title": "Cabal-add: extend Cabal build-depends from the command line"
}