Steve Smith

Results 121 comments of Steve Smith

> @essandess this does not look right, why is `Cabal-described` a "user goal"? Neither `Cabal` package nor `cabal-install` executable depend on it. I'm simply downloading https://github.com/haskell/cabal/archive/refs/tags/Cabal-v3.8.1.0.tar.gz, untarring it, and issuing...

> This works for me: > > ``` > cabal install cabal-install-3.8.1.0 -w ghc-9.4 --allow-newer='cabal-install:time,cabal-install:base,lukko:base,cabal-install:text,hackage-security:base,hackage-security:template-haskell,cabal-install-solver:base' > ``` Thanks. I see these issues running with the targets `cabal-install-3.8.1.0` and `new`: ```bash...

@acfoltzer @bubba @phadej @typedrat @23Skidoo At MacPorts we’ve [automated](https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/haskell_stack-1.0.tcl) `stack` builds and this has been successful for packages that don’t use `datadir`. However, `cabal`’s lack of a GNU-standard capability for...

@bubba Thanks. I think the is something that a person or group within the `cabal` development community who are familiar with the code base will necessarily have to pick up.

The [approach](http://neilmitchell.blogspot.com/2008/02/adding-data-files-using-cabal.html) described by [hlint](https://github.com/ndmitchell/hlint)'s author @ndmitchell solves the issue of hardcoded `cabal` `data-files` in the binary. All that's required is to specify the path within a file called `Paths_packagename.hs`,...

I observe that this issue breaks `alex` and `happy` builds that require these files in their `datadir: /opt/local/share/alex`, `happy`. These are critical path binaries that a `cabal` build breaks. Because...

> @essandess: That's unfortunate. Does the workaround in [#3586 (comment)](https://github.com/haskell/cabal/issues/3586#issuecomment-967541907) work for you? Optionally with `chroot` or whatever other utility lets you fool cabal and all its child processes that...

> The `$pkg_datadir` global option? How does that one work? I don't see anything in the `cabal` man page, help string, or User's guide: ```sh $ man cabal | egrep...

@dreness @wsanchez @cyrusdaboo @m0rgen @glyph Also, if any of you have specific comments or suggestions about how https://github.com/macports/macports-ports/pull/4978 is implemented, your feedback would be most welcome. I have this running...

@dreness Thank you for your pointers here and elsewhere. I’ll give your suggestion a go. I realize this isn’t a bug, but it is an “undesirable feature.” At the least,...