Sender | Message | Time |
---|---|---|
22 Jun 2025 | ||
But how is its ancientness encoded in cabal? | 19:55:00 | |
I don't see the ffmpeg version encoded in the cabal file. It's asking for a certain set of pkgconfig libs, I'm giving it those libs. | 19:55:21 | |
I don't see any version checks. | 19:55:25 | |
Here's what the cabal wants:
Here's what | 19:56:37 | |
* I don't see any version checks or reasons why a newer version wouldn't work. | 19:57:03 | |
not sure. other than the missing lib prefixes in the error maybe. | 19:57:54 | |
20:27:10 | ||
Heya, a while ago I wrote a program that uses the punycode package, which is marked as broken in nixpkgs. I'm trying to figure out why but have gotten nowhere, any suggestions? | 20:28:32 | |
* Heya, a while ago I wrote a program that uses the punycode Haskell package, which is marked as broken in nixpkgs. I'm trying to figure out why but have gotten nowhere, any suggestions? | 20:29:43 | |
In reply to @sasha:the-apothecary.clubHave you looked for a "broken.yaml" file in nixpkgs and read the line in the corresponding comment? | 20:47:48 | |
Also have you tried just building it by overriding/ignoring the broken flag? | 20:48:25 | |
In reply to @maralorn:maralorn.deI did not because I didn't know that existed. Thx! | 20:49:58 | |
23 Jun 2025 | ||
Hey all! I'm routinely getting strange "missing dependencies" errors when trying to build with
happens to various dependencies when building various packages... | 17:51:06 | |
I saw reports like that on Discourse but none of the suggestions looked particularly relevant... | 17:51:35 | |
In reply to @artem.types:matrix.org Are you trying to override the Boot libraries have special handling and cannot be overridden in the usual way. | 18:52:14 | |
@alex:tunstall.xyz: I'm building with cabal, not nix, so, I'm not sure I understand your question but no, I'm not doing anything special I just do `cabal build` | 19:53:48 | |
@artem.types:matrix.org 1. Did you run cabal update? 2. Try reseting by removing dist-newstyle. | 19:58:09 | |
In reply to @artem.types:matrix.org If you don't understand the question, the answer is "probably not". Then you might have version constraints in your package that cause Cabal to reject the version installed with the GHC provided by Nix. | 19:58:31 | |
Running cabal update produces a local package index that Cabal may try to use to build packages.When using Nix, you typically don't want the file to exist. | 20:00:14 | |
Redacted or Malformed Event | 20:18:43 | |
Well with cabal update it should work, even though it is not a very typical workflow. | 20:20:48 | |
Ah, that's not a workflow I'm familiar with and I vaguely recall it being a problem in the past... Let's see whether any of our ideas help. | 20:22:41 | |
Alex: It has the advantage of not needing overrides as long as there is any valid build plan cabal can find on hackage. It has the disadvantage that you get no caching for dependencies and the problem that you get no automatic installation of system dependencies. So traditionally this breaks when you have e.g. zlib in your closure. | 20:24:53 | |
(I guess you know that, but that is probably the problem you remember.) | 20:25:22 | |
Given that GHC 9.10 is being used, cabal update may be easier than jailbreaking and patching various packages.I haven't tried upgrading beyond the default GHC lately, but when I do it has always involved Nix overrides... | 20:28:34 | |
I mean for building unix there shouldn’t be any problems either way, tbh. | 20:36:37 | |
I assume only problem is that test dependencies of boot packages are not boot packages themselves. | 20:37:10 | |
True, but it's rare for a project to only need boot libraries. It's hard to say what the easiest approach is without a better understanding of Artem's use case. | 20:38:49 | |
In reply to @maralorn:maralorn.deI tried these, yes. I've been having this issue a while, so I've tried many simple things like that | 20:54:04 | |
Artem: I see. If you would like more help then maybe you can share the Haskell relevant part of the nix configuration (e.g. the nix- shell or your system config) which installed ghc, etc and also the full log of the failing command? | 20:58:38 |