!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

684 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure134 Servers

Load older messages


SenderMessageTime
11 Dec 2025
@alexfmpe:matrix.orgalexfmpe iopq: https://github.com/commercialhaskell/stack/issues/6824 21:14:02
@andromeda:tchncs.deandromedaI need to link the wayland headers at build time so the header library stops freaking out about not seeing things but at the same time dynamic linking has problems on nix :(21:30:52
@andromeda:tchncs.deandromedaI'll just not do wayland fn, it's beyond my ability21:31:11
12 Dec 2025
@iopq:matrix.orgiopqyep that's the one06:06:19
@iopq:matrix.orgiopqhttps://github.com/jtt9340/aoc2025/commit/e5fdca266f62c6ac0145f17f1ba60802dfaf1698 is the solution08:42:37
@alexfmpe:matrix.orgalexfmpe been getting this sort of thing lately
WARNING: /nix/store/5sfpjqy5rbipa3mdgiwal8k7zqfq5jxh-ghc-9.6.7/lib/ghc-9.6.7/bin/./ghc-9.6.7 is loading libcrypto in an unsafe way
when building inside a shell like
nix-shell -p cabal-install ghcid haskell-language-server ghc openssl zlib pkg-config
anyone's seen this? (on unstable)
16:37:09
@alexfmpe:matrix.orgalexfmpe * been getting this sort of thing lately
WARNING: /nix/store/5sfpjqy5rbipa3mdgiwal8k7zqfq5jxh-ghc-9.6.7/lib/ghc-9.6.7/bin/./ghc-9.6.7 is loading libcrypto in an unsafe way
when building inside a shell like
nix-shell -p cabal-install ghcid haskell-language-server haskell.packages.ghc96.ghc openssl zlib pkg-config
anyone's seen this? (on unstable)
16:37:40
@alexfmpe:matrix.orgalexfmpe I see this in .cabal
extra-libraries: crypto
16:38:37
@emilazy:matrix.orgemily I bet related to that dlopen change, maybe. 16:39:06
@emilazy:matrix.orgemilysome discussion https://github.com/cl-plus-ssl/cl-plus-ssl/issues/11416:39:17
@emilazy:matrix.orgemilyI assume this is macOS.16:39:20
@alexfmpe:matrix.orgalexfmpeoops yeah aarch64-darwin16:40:51
@alexfmpe:matrix.orgalexfmpem1 specifically16:40:58
@alexfmpe:matrix.orgalexfmpehmm so the issue is likely to be from loading unversioned libcrypto?16:53:02
@emilazy:matrix.orgemilymy guess is that it's something related to https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12264 / https://gitlab.haskell.org/ghc/ghc/-/merge_requests/14290 / blah16:54:06
@emilazy:matrix.orgemily it might still be loading libcrypto wrong (we'd want that to be an absolute path for Nix presumably?) 16:54:20
@emilazy:matrix.orgemilybut I'd guess this stuff is what exposed it16:54:28
@alexfmpe:matrix.orgalexfmpeI'm getting this on ghc 9.6 though16:58:02
@emilazy:matrix.orgemily ah. then I have no idea. git bisect --first-parent? :) 16:58:53
@alexfmpe:matrix.orgalexfmpeI mean, 9.8 too, just meant it seems to predate those merge request16:58:56
@emilazy:matrix.orgemilyright17:00:41
@emilazy:matrix.orgemilyI'm just assuming you didn't use to get this17:00:47
@alexfmpe:matrix.orgalexfmpenot sure, first time I try to build this particular project17:01:09
@alexfmpe:matrix.orgalexfmpehmm hang on17:01:15
@alexfmpe:matrix.orgalexfmpe I think changing this to crypto.3 fixed it 17:01:53
@alexfmpe:matrix.orgalexfmpecan't confirm right now because I did a clean afterwards and now github is dying on me or something17:02:11
@emilazy:matrix.orgemily I feel like it should work with just crypto and we're holding it wrong or something. but maybe not. 17:04:00
@emilazy:matrix.orgemilyhave you tried 25.05, 24.11?17:04:08
@alexfmpe:matrix.orgalexfmpeI'll see if I can get away with this stupid workaround just to complete the task I was aiming for, then circle back to investigate this properly17:10:17
@emilazy:matrix.orgemilyfair enough17:11:27

There are no newer messages yet.


Back to Room ListRoom Version: 6