!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

720 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
22 May 2021
@andi:kack.itandi- set a profile picture.13:34:06
@dualinverter:matrix.orgdualinverter joined the room.16:11:32
@pwmosquito:matrix.orgpwmosquito joined the room.16:22:04
@Ericson2314:matrix.orgJohn Ericson sterni: hmm ok 17:06:26
@Ericson2314:matrix.orgJohn Ericsoni just assumed there was some issue with glibc static17:06:37
@Ericson2314:matrix.orgJohn Ericsonbut would be cool if there wasn't17:06:43
@sternenseemann:systemli.orgsterni (he/him)from reading the code I got the impression that at the time there was no glibc.static and it wasn't changed since then, but I could be wrong17:31:02
@sternenseemann:systemli.orgsterni (he/him) pennae: with -j1 tests no longer fail, so seems to be indeed a race condition 18:41:19
@pennae:matrix.eno.spacepennaegood to know :<18:46:12
@sternenseemann:systemli.orgsterni (he/him)upstream knows™ now18:48:24
@pennae:matrix.eno.spacepennaeheh, SEP :D18:48:36
@sternenseemann:systemli.orgsterni (he/him)also I really have to add a proper way to pass flags to the test invocation18:48:37
@sternenseemann:systemli.orgsterni (he/him) the testTarget trick I have been doing is something to be ashamed of 18:49:01
* @pennae:matrix.eno.spacepennae check what that could be18:50:36
@pennae:matrix.eno.spacepennae.. eh, could be worse18:51:38
@sternenseemann:systemli.orgsterni (he/him) it's just a bit annoying ideally we wann just reuse mkDerivation's checkFlags, but we already have it called testTarget 18:52:36
@maralorn:maralorn.demaralorn sterni: cdepillabout: I am wondering how we should go about problems were people fix stuff upstream and then we have to decide if we workaround it or bump our hackage snapshot to fix our build error. I wish there was a solution to somehow bump only this one package … 18:55:42
@sternenseemann:systemli.orgsterni (he/him)this is the moment where I go I told you so right? :p18:56:07
@sternenseemann:systemli.orgsterni (he/him)it's a bit unfortunate, but I think we may also get away with bumping the hackage pin as well18:56:26
@sternenseemann:systemli.orgsterni (he/him) other than that we can just use overrideSrc in this case I'm pretty sure 18:56:53
@sternenseemann:systemli.orgsterni (he/him)I checked earlier doing a bump of hackage only has a sizeable diff, but it's hard to say if it'd break anything ofc18:57:24
@maralorn:maralorn.demaralornThe question is if we could (and want) introduce a distinction between the hackage-snapshot used for generation and the hackage-snapshot used for taking prefered-versions.18:59:02
@maralorn:maralorn.demaralornOh, actually. No that I phrase it that way, I don‘t think it would be that hard.18:59:40
@sternenseemann:systemli.orgsterni (he/him)we could probably do the same thing as for stackage and just generate a list of all the versions from the snapshot18:59:46
@maralorn:maralorn.demaralornBut it certainly comes with a complexity cost.18:59:54
@sternenseemann:systemli.orgsterni (he/him)then we could update the snapshot independently of that without regenerating the lsit19:00:02
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
we could probably do the same thing as for stackage and just generate a list of all the versions from the snapshot
That will generate a lot of additional noise in the git-repo.
19:00:26
@sternenseemann:systemli.orgsterni (he/him)I also wonder if there would be any performance cost on hackage2nix19:00:27
@maralorn:maralorn.demaralorn sterni: The update-hackage script passes the hackage version and the preferred-versions separately to hackage2nix. So it would be pretty easy to give it different preferred versions. 19:02:40
@sternenseemann:systemli.orgsterni (he/him)oh right forgot that was a thing19:05:25

Show newer messages


Back to Room ListRoom Version: 6