!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

744 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.org148 Servers

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


SenderMessageTime
10 Jan 2026
@emilazy:matrix.orgemilywe backport patches for newer LLVM support to older GHCs19:52:34
@emilazy:matrix.orgemily(there aren't that many, the backend doesn't change much since it uses the LLVM textual IR format)19:52:52
@emilazy:matrix.orgemily(mostly it's just backporting bumps to the version number it checks)19:53:02
@emilazy:matrix.orgemily see pkgs/development/compilers/ghc/common-llvm-patches.nix 19:53:14
11 Jan 2026
@ivank:matrix.orgivan joined the room.01:54:59
@mequbic:matrix.orgiqubic (she/her) What should I do if Nix is refusing to build a Haskell Library for me? Right now, hip is failing to build! https://hackage.haskell.org/package/hip 03:30:09
@mequbic:matrix.orgiqubic (she/her)
error: Package ‘hip-1.5.6.0’ in /nix/store/aqhcr0kv7d91rfm0ca77rbakjk5gkbq6-source/pkgs/development/haskell-modules/hackage-packages.nix:330406 is marked as broken, refusing to evaluate.

       a) To temporarily allow broken packages, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_BROKEN=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowBroken = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowBroken = true; }
       to ~/.config/nixpkgs/config.nix.


       note: trace involved the following derivations:
       derivation 'mh26'
03:36:54
@ashinnv:matrix.orgM̸̙̜̔̇Ǎ̴͎̙͔G̸̞̈N̸͔͍̝͗͋̾Ő̷͖̼͈̽̚L̷̻͚̓̔I̷̛͔̰̟̔Å̴̩̍ ̷̦̒̇͝M̷̱̠̺̉̎A̵̼̎͗͘Ỹ̸̬̲͂̕H̷̙̖͂Ē̷͉̦̌͒M̶͈̥̽̐ Houston, we've had a Microsoft changed their display name from Mr Mayhem to Dr Mayhem, esq.13:34:01
@9hp71n:matrix.orgghpzin changed their display name from ghpzin (moved to @ghpzin:envs.net) to ghpzin.15:04:53
@ghpzin:envs.net@ghpzin:envs.net left the room.16:16:06
12 Jan 2026
@aiya:catgirl.cloudaiya when you get that message, most likely it's a compilation error. try running NIXPKGS_ALLOW_BROKEN=1 nix-shell -p haskellPackages.hip to isolate the error 02:03:47
@aiya:catgirl.cloudaiyahere's the error i got when running that command:02:04:06

Show newer messages


Back to Room ListRoom Version: 6