Haskell in Nixpkgs/NixOS | 719 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | 143 Servers |
| Sender | Message | Time |
|---|---|---|
| 22 Jun 2025 | ||
| I'm trying to fix a broken package named
However, the ffmpeg libs are still not found: | 19:46:24 | |
| Redacted or Malformed Event | 19:46:33 | |
| * I'm trying to fix a broken package named
However, the ffmpeg libs are still not found: | 19:47:18 | |
IIRC ffmpeg-light only works with ancient FFmpeg. | 19:50:01 | |
| "Tested with FFmpeg 3.1 - 3.4.2" | 19:50:46 | |
| That may be so, but I'd still like to understand why it's not finding the libs I'm giving it. | 19:51:30 | |
| * I'm trying to fix a broken package named
However, the ffmpeg libs are still not found: | 19:51:35 | |
| * I'm trying to fix a broken package named
However, the ffmpeg libs are still not found: | 19:54:00 | |
| you're not giving it an ancient FFmpeg is probably at least part of it | 19:54:45 | |
| we're on FFmpeg 7 | 19:55:00 | |
| 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 | |