!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

732 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/145 Servers

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


SenderMessageTime
29 Jun 2025
@twesterhout:matrix.orgTom Westerhout

Following up on ners's point, there's this comment in release-haskell.nix: https://github.com/NixOS/nixpkgs/blob/dcc4da22e1bf5ed04220e7c5ddaa80abc0dee646/pkgs/top-level/release-haskell.nix#L409

# pkgsMusl is compiled natively with musl.  It is not
# cross-compiled (unlike pkgsStatic).  We can only
# natively bootstrap GHC with musl on x86_64-linux because
# upstream doesn't provide a musl bindist for aarch64.

I'm wondering if it still stands because I was able to build stuff locally

16:27:44
@twesterhout:matrix.orgTom Westerhout Ah wait, never mind. I can't read. I was reading pkgsMusl instead of pkgsStatic. For pkgsStatic, it says "times out on Hydra" 16:29:21
@twesterhout:matrix.orgTom Westerhout * Ah wait, never mind. I can't read. I was reading pkgsMusl instead of pkgsStatic. For pkgsStatic, it says "times out on Hydra". Is there any chance to get an exception there? 16:29:49
@alex:tunstall.xyzAlex
In reply to @ners:nixos.dev
Would it be possible to cache the pkgsStatic GHC for aarch64 as well, in addition to x86_64 linux?
My guess, without looking at Hydra, is that it could potentially break the path size limit.
17:17:56
@peterbecich:matrix.orgPeter Becichthis fixes it, rebuilding the tool as you suggested, review please: https://github.com/NixOS/nixpkgs/pull/42112721:58:21
30 Jun 2025
@ners:nixos.devners maralorn any thoughts? 09:51:30
@maralorn:maralorn.demaralornI am sadly quite unfamiliar with the policys around hydra timeouts. I guess there have to exist exceptions for something like chromium? But I think in Haskell world we never had one?10:06:57
@maralorn:maralorn.demaralorn* I am sadly quite unfamiliar with the policies around hydra timeouts. I guess there have to exist exceptions for something like chromium? But I think in Haskell world we never had one?10:07:10
1 Jul 2025
@sternenseemann:systemli.orgsterni (he/him) ners: in principle the timeout is configurable per derivation. That comment is from 2021, though, so it may no longer be accurate for the builders we currently have. Currently, it doesn't make a difference since haskell-updates is not tested on aarch64-linux at all. I don't know when/if that is going to change. Also, haskell-updates is relatively disconnected from master these days, so you will get cache misses even on x86_64-linux (haskell-updates is for catching regressions primarily, not populating the binary cache). Feel free to open a PR adding jobs for pkgsStatic haskell to release.nix or maybe release-cross.nix which are intended for testing/populating binary cache on master. 09:54:04
@sternenseemann:systemli.orgsterni (he/him)going to merge h-u this evening probably16:01:25

Show newer messages


Back to Room ListRoom Version: 6