!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

728 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.org147 Servers

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


SenderMessageTime
22 Oct 2025
@magic_rb:matrix.redalder.orgmagic_rbits an interesting failure, very, not helpful20:24:57
23 Oct 2025
@alexfmpe:matrix.orgalexfmpemight want to try 9.12 from recent nixpkgs17:23:06
@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

Show newer messages


Back to Room ListRoom Version: 6