!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

661 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 infrastructure132 Servers

Load older messages


SenderMessageTime
10 Jun 2025
@dmjio:matrix.orgdmjio changed their display name from dmjio šŸœ to dmjio.17:05:03
@keypusher:matrix.orgkeypusher I have flake.nix that defines multiple packages. I wan't to launch a develop shell for a certain package (nix develop .#package-b), it seems it ignores the "nativeBuildInputs" in the "shellFor" declaration. Is there a way around this? 23:22:19
@keypusher:matrix.orgkeypusher * I have flake.nix that defines multiple packages. I want to launch a develop shell for a certain package (nix develop .#package-b), but it seems it ignores the "nativeBuildInputs" in the "shellFor" declaration. Is there a way around this? 23:22:49
11 Jun 2025
@cdepillabout:matrix.orgcdepillabout Can you post your code? In general I don't think things like nativeBuildInputs should be getting ignored. 00:19:00
@utdemir:matrix.org@utdemir:matrix.org left the room.02:09:16
@maralorn:maralorn.demaralornIs there anything keeping us from merging haskell-updates besides the listed breakage?07:20:13
@maralorn:maralorn.demaralornhls apparently needs a backport of the stylish-haskell pin from 9.12 to 9.1007:20:53
@maralorn:maralorn.demaralornAnd honestly I am gonna drop support for pandoc-crossref. 🤣 Probably easy very easy to fix but I haven’t used it in years.07:22:08
@maralorn:maralorn.demaralorn* And honestly I am gonna drop support for pandoc-crossref. 🤣 Probably easy to fix but I haven’t used it in years.08:19:35
@maralorn:maralorn.demaralornOkay, I fixed everything but the gi-soup breakage. Still unclear to me how we can fix that.08:27:40
@maralorn:maralorn.demaralornYou were right, I accidentally disabled that by commenting out the reflex-packages overrides.10:13:17
@ners:nixos.devners

I'm trying to build a statically linked Haskell executable using pkgsStatic. If I'm understanding release-haskell.nix correctly, this derivation and all its deps should be cached: pkgsStatic.haskell.packages.native-bignum.ghc984.hello

I expect it to pull it from cache, but instead it starts building GHC from source. Am I missing something about how we cache things?

18:59:15
@maralorn:maralorn.demaralornrelease-haskell.nix applies to haskell-updates. release.nix applies to master.19:02:13
@maralorn:maralorn.demaralornDoes that help?^^19:19:38
12 Jun 2025
@root:sandwitch.devSand Witch
In reply to @ners:nixos.dev

I'm trying to build a statically linked Haskell executable using pkgsStatic. If I'm understanding release-haskell.nix correctly, this derivation and all its deps should be cached: pkgsStatic.haskell.packages.native-bignum.ghc984.hello

I expect it to pull it from cache, but instead it starts building GHC from source. Am I missing something about how we cache things?

BTW, ghc 9.6 and higher are broken on pkgsStatic: https://github.com/NixOS/nixpkgs/issues/275304
07:34:49
@ners:nixos.devners
In reply to @maralorn:maralorn.de
Does that help?^^
Yes that worked! Thank you. :)
07:43:40
@mangoiv.:matrix.orgMangoIV
In reply to @root:sandwitch.dev
BTW, ghc 9.6 and higher are broken on pkgsStatic: https://github.com/NixOS/nixpkgs/issues/275304
More specifically, the issue
is that any Hadrian-built GHC is broken, iirc
12:40:52
15 Jun 2025
@ahihi:matrix.orgpulu changed their profile picture.16:28:40
@t4ccer:matrix.orgt4ccer left the room.19:06:54
@t4ccer:matrix.orgt4ccer joined the room.19:09:04
16 Jun 2025
@matthew8:matrix.org@matthew8:matrix.org left the room.18:55:40
17 Jun 2025
@alexfmpe:matrix.orgalexfmpeRedacted or Malformed Event00:55:05
19 Jun 2025
@setunset:matrix.orgFreeVariableIs it possible to get ghc 9.10.2 on Nixos unstable?01:28:10
@setunset:matrix.orgFreeVariableThe last packaged versions seems to be 9.8.x01:28:47
@cdepillabout:matrix.orgcdepillabout GHCs are available as haskell.compiler.ghc910*, and the package sets at haskell.packages.ghc910*.lens (or whatever). Although keep in mind that sometimes things don't work with the non-default compiler. 02:46:18
@setunset:matrix.orgFreeVariable
In reply to @cdepillabout:matrix.org
GHCs are available as haskell.compiler.ghc910*, and the package sets at haskell.packages.ghc910*.lens (or whatever). Although keep in mind that sometimes things don't work with the non-default compiler.
Thanks. But how large is th delta ?How many versions I can expect to be available when they are not yet released to the unstable branch?
06:58:05
@setunset:matrix.orgFreeVariable* Thanks. But how large is the delta? How many versions I can expect to be available when they are not yet released to the unstable branch?06:58:27
@maralorn:maralorn.demaralorn
In reply to @setunset:matrix.org
Thanks. But how large is th delta ?How many versions I can expect to be available when they are not yet released to the unstable branch?
I am unsure what you mean. Do you wonder how many less haskell packages build on the non default ghc? Hard to say.
07:22:35
@maralorn:maralorn.demaralornBut we have all recent ghc versions packaged including 9.12.07:23:33
@maralorn:maralorn.demaralornThey are all "released" in the sense that they exist on nixos-stable. They just are not yet defaults.07:24:42

Show newer messages


Back to Room ListRoom Version: 6