!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

213 Members
68 Servers

Load older messages


SenderMessageTime
4 Nov 2025
@winter:catgirl.cloudWinterinstallCheck needs to be done after install because it depends on the ~final version of $out, and no, there’s generally not… checkPhase is like unit tests and the like03:01:43
@ivy:faggot.shivyso there wouldnt be any reason why we couldn't move checks into a sub derivation, that depends on the parent derivations output03:07:40
@ivy:faggot.shivyaka03:07:58
@ivy:faggot.shivyllvm is llvm and llvm.checks, and all things that depend on llvm have a checks output that depends on llvms checks, so checks can be parrallelised?03:08:36
@ivy:faggot.shivyinstead of if a checkPhase fails on hydra it messes up the entire build process and shortcircuits all dependencies on it, 03:09:35
@ivy:faggot.shivyand also takes a long time03:09:42
@ivy:faggot.shivyimage.png
Download image.png
03:15:37
@ivy:faggot.shivylike this03:15:38
@winter:catgirl.cloudWintercan’t easily go from $out to a test-ready build env though03:17:30
@winter:catgirl.cloudWinterthat’s the issue03:17:33
@winter:catgirl.cloudWinterlots of tests depend on the build environment being set up03:17:39
@winter:catgirl.cloudWinterand artifacts being already built etc…03:17:49
@ivy:faggot.shivycan we make that build env passed into that check?03:19:23
@ivy:faggot.shivylike the build env is copied into that new check env03:20:05
@ivy:faggot.shivyimage.png
Download image.png
03:27:30
@ivy:faggot.shivythis perhaps then03:27:30
@ivy:faggot.shivywhere mid-build-env contains the built artifacts minus the checkPhases03:28:12
@ivy:faggot.shivyso it's more parallelised03:29:34
@ivy:faggot.shivy Winter: thoughts? 03:30:15
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @ivy:faggot.sh

llvm is llvm and llvm.checks,

and all things that depend on llvm have a checks output that depends on llvms checks, so checks can be parrallelised?

i mean if llvm checks are failing i would want stuff to block on that
03:46:57
@pyrox:pyrox.devdish [Fox/It/She]since compiler errors are not good03:47:06
@ivy:faggot.shivyit would still block, just not block building them simultaneously03:47:49
@ivy:faggot.shivylike stuff still builds while checks are going on03:48:05
@ivy:faggot.shivyand also would be helpful for compiler understanding of why the test fails when dependencies fail03:48:46
@pyrox:pyrox.devdish [Fox/It/She] yeah what im saying is i'd rather block on checks succeeding for critical deps like compilers 04:07:16
@cafkafk:gitter.imcafkafk changed their profile picture.08:22:56
@plasmapower:matrix.orgplasmapower joined the room.20:22:34
@plasmapower:matrix.orgplasmapower I've been looking into a timezone issue with a libstdc++ application. I think we need --with-libstdcxx-zoneinfo=${targetPackages.tzdata}/share/zoneinfo for gcc but don't have it (or maybe we need to set it to /etc/zoneinfo). Right now it seems to be looking in /usr/share/zoneinfo and /var/db/zoneinfo, as confirmed by both strace and running strings on libstdc++, but zoneinfo is in neither of those places on NixOS. Does this sound right? I can make the PR myself but I wanted to make sure this is reasonable before I spend a bunch of compute cycles testing this 20:26:31
@plasmapower:matrix.orgplasmapower * I've been looking into a timezone issue with a libstdc++ application. I think we need --with-libstdcxx-zoneinfo=${targetPackages.tzdata}/share/zoneinfo for gcc but don't have it (or maybe we need to set it to /etc/zoneinfo). Right now it seems to be looking in /usr/share/zoneinfo and /var/db/zoneinfo, as confirmed by both strace and running strings on libstdc++, but zoneinfo is in neither of those places on NixOS. Does this sound right? I can make the PR myself but I wanted to make sure this is reasonable before I spend a bunch of compute cycles testing this
Edit: seems like this isn't related to the issue I'm debugging, as the hardcoded tzdata in glibc is up-to-date. In theory it might be better to have the fs location correct but I don't think it matters here.
20:51:11
@zimward:zimward.moezimward joined the room.22:40:45

Show newer messages


Back to Room ListRoom Version: 9