sternenseemann

Results 195 comments of sternenseemann

I think this is due to #8455? Try `pkg-config --libs --static YOUR_DEP`. `--list-all` works fine here as well.

I *think* `cabal2nix` implements this in [Distribution.Nixpkgs.Haskell.Hackage](https://hackage.haskell.org/package/cabal2nix-2.19.0/docs/Distribution-Nixpkgs-Haskell-Hackage.html), but I'm a bit fuzzy on the details, as I've never touched that code myself. I'd be happy to merge a PR that...

I am already lifting the bounds on `base` manually which is why I opened this issue.

Yes, I think so. The two failures I encountered were: ``` Configuring cabal-install-solver-3.8.1.0... CallStack (from HasCallStack): withMetadata, called at libraries/Cabal/Cabal/src/Distribution/Simple/Utils.hs:370:14 in Cabal-3.8.1.0:Distribution.Simple.Utils Error: Setup: Encountered missing or private dependencies: base...

> I'd prefer not to do this in `cabal2nix`, but instead just add it to `pkgs/development/haskell-modules/configuration-darwin.nix` until the GHC bug (?) is fixed. Agreed.

Additionally, it seems to me that 0.14.0.1 is an PVP violation, it should have been 0.14.1.0 since it newly exported `AltVar`?!

No, still some obstacles, these are just some low hanging fruits / non-invasive changes that I've found useful. If you want to follow the progress, you can look at .

Can oconfigure determine the file extension for shared objects somehow? A remaining problem on darwin seems to be that it is still installed as `.so` and not `.dylib`. (I also...

With `lts-20`: ``` @nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" } setupCompilerEnvironmentPhase Build with /nix/store/50h3rrcly4gvxh6xi2g16yxm7zv7ihvr-ghc-9.2.4. @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/9p4c18p0pzd11ng0pwz0cfvqcgfrnma6-Spock-0.14.0.0.tar.gz source root is...