| 10 Jan 2026 |
| pnotequalnp joined the room. | 05:15:41 |
| Jean 💕 joined the room. | 11:28:04 |
tks_123 | mates | 13:02:04 |
tks_123 | Is there a way to add a haskell package as a flake (i.e. some other haskell project with its own flake.nix) into the haskellPackages of my own haskell project? | 13:03:37 |
tks_123 | are there examples of this out there? | 13:03:45 |
Acid Bong | In reply to @tks_123:matrix.org Is there a way to add a haskell package as a flake (i.e. some other haskell project with its own flake.nix) into the haskellPackages of my own haskell project? yup, but i hope they expose a package.nix with the package recipe alone, so you could haskellPackages.callPackage it | 13:25:26 |
Acid Bong | (for the sake of using the same version and edition of GHC) | 13:26:01 |
maralorn | Its complicated, the default flake interface is not really meant to be composable. | 16:03:30 |
maralorn | Some flake authors design their flake in a way that they expose a) the package and b) an overlay which injects the package. | 16:04:05 |
| aiya joined the room. | 19:38:17 |
aiya | so the 25.11 "default" GHC is 9.10, but LLVM only has 18-20 which is incompatible. is this intentional, or is LLVM 15 supposed to be in nixpkgs just to support 9.10 -fllvm?
i back-searched this chat for LLVM but only found conversation on bumping LLVM 12 -> 15 | 19:50:59 |
emily | we backport patches for newer LLVM support to older GHCs | 19:52:34 |
emily | (there aren't that many, the backend doesn't change much since it uses the LLVM textual IR format) | 19:52:52 |
emily | (mostly it's just backporting bumps to the version number it checks) | 19:53:02 |
emily | see pkgs/development/compilers/ghc/common-llvm-patches.nix | 19:53:14 |
| 11 Jan 2026 |
| ivan joined the room. | 01:54:59 |
iqubic (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 |
iqubic (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 |
| Dr Mayhem, esq changed their display name from Mr Mayhem to Dr Mayhem, esq. | 13:34:01 |
| ghpzin changed their display name from ghpzin (moved to @ghpzin:envs.net) to ghpzin. | 15:04:53 |
| 20 May 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 22:10:58 |
| @grahamc:nixos.org changed the room name to "" from "". | 22:10:58 |
| @grahamc:nixos.org invited maralorn. | 22:11:05 |
| maralorn joined the room. | 22:11:13 |
| andi- joined the room. | 22:30:49 |
| @grahamc:nixos.orgchanged room power levels. | 22:36:42 |
| Room Avatar Renderer. | 22:46:20 |
| maralorn changed the join rule to "public" from "public". | 22:54:26 |
| maralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/". | 22:56:19 |
| Server Stats Discoverer (traveler bot) joined the room. | 23:05:49 |