!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

681 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 infrastructure133 Servers

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


SenderMessageTime
31 Aug 2025
@lxsameer:matrix.orglxsameerwhat's the package name?17:39:18
@maralorn:maralorn.demaralorn
In reply to @lxsameer:matrix.org
hey folks, do nixpkgs contain the webassembly backend of GHC?
Not really. no.
17:39:57
@dandart:matrix.orgUraraka ~ Ochaco normally I just do (builtins.getFlake "gitlab:haskell-wasm/ghc-wasm-meta?host=gitlab.haskell.org").packages.x86_64-linux.all_9_12 in a shell.nix 17:40:32
@dandart:matrix.orgUraraka ~ Ochaco a little patching later then I have wasm32-wasi-cabal, wasm32-wasi-ghc etc 17:41:13
@lxsameer:matrix.orglxsameerahhh, so that repo exports whatever is necessary for the wasm stuff. cool17:42:39
@dandart:matrix.orgUraraka ~ Ochacopretty much good enough for most stuff17:42:57
@maralorn:maralorn.demaralornThere is this https://github.com/ners/nix-wasm17:43:10
@maralorn:maralorn.demaralornAnd what peri posted should be enough to play around17:43:47
@dandart:matrix.orgUraraka ~ OchacoI couldn't figure out the benefit to that over ghc-wasm-meta17:44:12
@dandart:matrix.orgUraraka ~ Ochacoit imports ghc-wasm-meta and does some flakey things17:44:30
@dandart:matrix.orgUraraka ~ Ochacomaybe it's to make things nix-buildable? either way a full install with prefix will still build manually17:45:04
@lxsameer:matrix.orglxsameerPeri, i never tried any wasm related stuff on haskell. is it ok to use any prelude?17:45:13
@dandart:matrix.orgUraraka ~ OchacoI presume so, everything non-network-related seemed to work for me17:45:35
@dandart:matrix.orgUraraka ~ OchacoI wrote a reflex-dom app with it17:46:07

Show newer messages


Back to Room ListRoom Version: 6