!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
25 May 2021
@maralorn:maralorn.demaralorn cdepillabout: I think it would be very hard to do it from scratch. But I feel like it should be possible to take what we have and iterate on it. 11:35:50
@maralorn:maralorn.demaralornSomething like we probably can‘t do good, but we certainly can do better.^^11:36:25
@cdepillabout:matrix.orgcdepillaboutThat's a good point11:37:38
@maralorn:maralorn.demaralorn sterni (he/him): Now that I think about it. Don‘t you think it’s kinda lame to compile static lens and random. I mean who needs a static compiled library.^^ Wouldn‘t it be much more awesome to statically compile some tools which people could actually use. e.g. ghcup. 12:08:24
@maralorn:maralorn.demaralornHuh, I wonder if you use pkgsStatic on something with justStaticExecutables do you get a store path with a trivial closure?12:09:41
@quaestor:tchncs.deChristoph joined the room.15:00:51
@zwro:matrix.orgzwro changed their display name from zwro to zero.15:23:22
@zwro:matrix.orgzwro changed their display name from zero to z.15:23:54
@sternenseemann:systemli.orgsterni (he/him) maralorn: justStaticExecutables are already pretty good with dynamic linking since all haskell dependencies are linked statically anyways, dynamic linking is only used for libc etc. 15:35:38
@sternenseemann:systemli.orgsterni (he/him) maralorn: Yeah of course, feel free to add some tools as well. The intention was really to test some very important libraries 15:36:04
@sternenseemann:systemli.orgsterni (he/him)we might want to add hpack, cabal2nix, … to the list15:36:14
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
maralorn: justStaticExecutables are already pretty good with dynamic linking since all haskell dependencies are linked statically anyways, dynamic linking is only used for libc etc.
Yeah, I know. That's why I was hoping that those derivations would actually be completely runtime dependency less.
15:39:37
@sternenseemann:systemli.orgsterni (he/him)pkgsStatic would be yes15:39:59
@maralorn:maralorn.demaralornAnd I mean not only philosophically or the binary. But the actual nix closure of the output.15:40:18
@sternenseemann:systemli.orgsterni (he/him)yeah the closure is one path for pkgsStatic15:41:05
@sternenseemann:systemli.orgsterni (he/him)at least in normal cases15:41:10
@sternenseemann:systemli.orgsterni (he/him)or at least it should :p15:41:19
@sternenseemann:systemli.orgsterni (he/him)but honestly it's not that interesting unless you are copying closures around a lot which are all built with different versions of stdenv15:41:53
@maralorn:maralorn.demaralornCool15:41:54
@sternenseemann:systemli.orgsterni (he/him)normally you have libc etc. in store anyways15:42:10
@maralorn:maralorn.demaralornTrue15:42:20
@sternenseemann:systemli.orgsterni (he/him)Inviting everyone with restart-jobs to hunt for stale builds :) https://github.com/NixOS/nixpkgs/pull/123682#issuecomment-84797529815:42:50
@sternenseemann:systemli.orgsterni (he/him)unfortunately I don't remember what other packages had a build failure due to Killed by $thing15:43:07
@maralorn:maralorn.demaralorn sterni (he/him): I have been restarting jobs for days. But it doesn't really matter. We only mark builds that fail themselves as broken. So the worst thing that could happen is that they are truly broken without us noticing. But when all maintained jobs are fine, I think we are fine. 15:47:20
@sternenseemann:systemli.orgsterni (he/him)yeah the impact is low with our new approach at least15:47:45
@sternenseemann:systemli.orgsterni (he/him)I mean we could also hope a merge of master triggers a full rebuild and everything goes well this time :p15:48:01
@sternenseemann:systemli.orgsterni (he/him)but a bit scared in light of how slow the darwin builds where15:48:19
@sternenseemann:systemli.orgsterni (he/him) * but a bit scared in light of how slow the darwin builds were15:48:24
@sternenseemann:systemli.orgsterni (he/him)https://docs.google.com/spreadsheets/d/1ZvqZOdOse1lIAJxccsWdyFNeDLyVmoCUvI12LJNFMks15:49:13
@maralorn:maralorn.demaralorn
In reply to @maralorn:maralorn.de
sterni (he/him): I have been restarting jobs for days. But it doesn't really matter. We only mark builds that fail themselves as broken. So the worst thing that could happen is that they are truly broken without us noticing. But when all maintained jobs are fine, I think we are fine.
In the past I have restarted all failed jobs once or twice, but that's quite a shotgun approach. So now I resorted to picking single jobs to restart.
15:50:30

Show newer messages


Back to Room ListRoom Version: 6