!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

740 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
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

Show newer messages


Back to Room ListRoom Version: 6