!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

690 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 infrastructure137 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
23 Oct 2025
@alexfmpe:matrix.orgalexfmpepkgsCross.ghcjs.haskell.packages.ghc912 has cached miso and reflex-dom, which means a lot of other packages are also cached by being their deps17:23:38
@alexfmpe:matrix.orgalexfmpe I get nix-build -A pkgsCross.ghcjs.haskell.packages.ghc912.ghcjs-base from cache on https://github.com/NixOS/nixpkgs/commit/c90b7f75f4e9d4dffcdc30261f565da1e261d468 which is just a few days old 17:26:32
@alexfmpe:matrix.orgalexfmpe magic_rb: ^ 17:26:42
@dandart:matrix.orgUraraka ~ OchacoI kind of gave up with ghcjs when it started giving cryptic errors so I moved my stack over to wasm17:27:18
@alexfmpe:matrix.orgalexfmpejs backend is recent enough I wouldn't bother much with anything older than 9.12 17:27:21
@alexfmpe:matrix.orgalexfmpebut yeah, wasm is very much an option17:27:59
@alexfmpe:matrix.orgalexfmpefunnily enough eval of this is broken on master and on present haskell-updates, looks like something got merged very recently 17:28:51
@alexfmpe:matrix.orgalexfmpe
$ nix-build -A pkgsCross.ghcjs.haskell.packages.ghc912.hello      
error: no C compiler provided for this platform
17:30:22
@alexfmpe:matrix.orgalexfmpeyay17:30:26
@alexfmpe:matrix.orgalexfmpebisect was pretty quick: this broke eval: https://github.com/NixOS/nixpkgs/pull/36659317:39:01
@alexfmpe:matrix.orgalexfmpe somehow we're getting a
ghcjs -> emscripten -> openjdk -> python -> openssl
that ends up trying to eval stdenv.cc.isGnu that then throws because there's no c compiler
17:51:32
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @alexfmpe:matrix.org
js backend is recent enough I wouldn't bother much with anything older than 9.12
mhm i actully figured it out, but i had to apply https://gitlab.haskell.org/ghc/ghc/-/merge_requests/14882 but using sed
17:54:57
@magic_rb:matrix.redalder.orgmagic_rb had to add both HEAP8 and HEAPU8 17:55:12
@alexfmpe:matrix.orgalexfmpeah ok, keep in mind I 'backported' that last week17:58:28
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/45152717:58:28
@magic_rb:matrix.redalder.orgmagic_rbah, good to know18:47:06
@magic_rb:matrix.redalder.orgmagic_rbi need to bump nixpkgs anyway due to a broken aeson i think18:47:32

Show newer messages


Back to Room ListRoom Version: 6