!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

719 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.org143 Servers

Load older messages


SenderMessageTime
5 Jun 2021
@sternenseemann:systemli.orgsterni (he/him)ohh that's what you meant14:59:48
@sternenseemann:systemli.orgsterni (he/him)quoted the $HACKAGE2NIX var mostly in case someone has it in a path with spaces15:00:54
@maralorn:maralorn.demaralornGood idea.15:02:58
@Las:matrix.orgLasSince GHC 9 won't be switched to as a default, would just compiling the GHC 9 packages in Hydra be fine?16:58:00
@maralorn:maralorn.demaralorn Las: Historically we have done that for a few select packages. We currently have jobs for cabal2nix, hoogle and maybe a few others. 16:59:16
@maralorn:maralorn.demaralornBut maye outside a short transition period I don‘t think enabling it for all packages would be an option.16:59:52
@maralorn:maralorn.demaralorn * But (maybe outside a very short transition period) I don‘t think enabling it for all packages would be an option.17:00:19
@Las:matrix.orgLasthe thing is, on a standard aarch64 device a lot of packages just run out of memory when compiling...17:00:44
@Las:matrix.orgLasa lot don't support more than 4 GB of RAM17:00:56
@Las:matrix.orgLas(excluding swap)17:00:59
@maralorn:maralorn.demaralorn Las: Are there maybe some popular packages the you need or that have a similar dependency tree? 17:03:08
@Las:matrix.orgLasAeson frequently times out IIRC17:03:28
@Las:matrix.orgLas * Aeson frequently runs out of memory IIRC17:03:38
@sternenseemann:systemli.orgsterni (he/him)aeson should already be compiled I'm pretty sure17:03:57
@sternenseemann:systemli.orgsterni (he/him)since I guess distribution-nixpkgs depends on it17:04:08
@Las:matrix.orgLasReally? I must have done something for it not to be fetched from cache then17:04:15
@Las:matrix.orgLasFor GHC 9?17:04:20
@sternenseemann:systemli.orgsterni (he/him)yes17:04:25
@Las:matrix.orgLasHuh17:04:28
@toonn:matrix.orgtoonn maralorn: Why would you use builtins.attrValues rather than `with lib.maintainers; [ a b ];`? 17:04:56
@sternenseemann:systemli.orgsterni (he/him)when did you try? non standard packages were not built on hydra until a few weeks ago I suspect for non x86_64-linux17:04:56
@sternenseemann:systemli.orgsterni (he/him)well it wouldn't have the discussed scoping issue17:05:26
@maralorn:maralorn.demaralorn toonn: Because it guarantees that a b come actually from lib.maintainers. 17:05:46
@sternenseemann:systemli.orgsterni (he/him)but I'm still sticking with [ lib.maintainers.a lib.maintainers.b] tbh17:05:48
@toonn:matrix.orgtoonn Wait, with doesn't shadow? 17:06:23
@maralorn:maralorn.demaralorn toonn: Nope, it doesn‘t. 17:06:31
@sternenseemann:systemli.orgsterni (he/him)it does not17:06:30
@Las:matrix.orgLasIf it did that would be horrible17:06:36
@sternenseemann:systemli.orgsterni (he/him)well both solutions to the issue are kinda bad tbh17:06:53
@Las:matrix.orgLas let x = y; in with z; [x] would have a different meaning depending on what z contains 17:07:07

There are no newer messages yet.


Back to Room ListRoom Version: 6