!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

168 Members
Number of builds and evals in queue: <TBD>61 Servers

Load older messages


SenderMessageTime
20 Jan 2024
@lily:lily.flowersLily Fosteryeah, it should be rebuilding that15:10:10
@cole-h:matrix.orgcole-hIt's just the same "too many statuses on a given context / SHA" error from GH :( I opened https://github.com/NixOS/nixpkgs/pull/282387 to simulate another ofborg run that hopefully doesn't run into the same issue18:07:34
@cole-h:matrix.orgcole-h(FWIW, "ofborg-internal-error" label pretty much always means "GitHub sent us an error for something we do in normal operation that prevents further processing", and not "build did something super funky")18:10:04
@7c6f434c:nitro.chat7c6f434cSo, it's basically github-being-flaky label in practice? 18:22:59
@cole-h:matrix.orgcole-hWell, I think historically it's more like "GitHub was flaky earlier and now we're paying the price"18:26:45
21 Jan 2024
@r_i_s:matrix.orgris_ right, problem is it's infinitely recursing into pkgsExtraHardening 11:10:54
@r_i_s:matrix.orgris_ aha excluded-toplevel-attrs = { 11:14:21
@r_i_s:matrix.orgris_successful eval!12:39:24
25 Jan 2024
@sheep_empress:matrix.orgsheep_empress joined the room.19:12:21
@sheep_empress:matrix.orgsheep_empresshi! i've been sent here from the nixpkgs group because i'm having a problem with ofborg that i can't replicate on my machine. i'm trying to package a program called autobrr. it's written in go with a web interface built in pnpm+vite+esbuild. i use a derivation to note what version of esbuild i need to grab, and this works on my machine, but ofborg says that it can't build my pr because it thinks this derivation is empty.19:24:41
@sheep_empress:matrix.orgsheep_empress could somebody help me out? my pull request is here, and the ofborg log that i'm referencing is here. 19:26:15
@cole-h:matrix.orgcole-hOne issue is that you're using import-from-derivation, which is not allowed in Nixpkgs (so as not to blow up the time it takes to evaluate)19:29:38
@cole-h:matrix.orgcole-h (If you run your build with --option allow-import-from-derivation false, you can see this happening) 19:30:06
@sheep_empress:matrix.orgsheep_empressOk, thanks, that's good to know that I can't use readFile to get anything from a nix store in nixpkgs.19:39:18
@k900:0upti.meK900Not "anything"19:40:07
@k900:0upti.meK900But only outputs of other derivations19:40:11
@sheep_empress:matrix.orgsheep_empressAm I able to use it to read from the same derivation I'm currently in?19:40:50
@k900:0upti.meK900No19:41:53
@k900:0upti.meK900Because you're not in a derivation19:41:58
@k900:0upti.meK900You're in eval19:42:02
@sheep_empress:matrix.orgsheep_empressCould you explain what you mean by that?19:43:54
@k900:0upti.meK900 builtins.readFile happens at eval time 19:44:51
@k900:0upti.meK900Nix computes a build plan first, then executes it19:45:03
@k900:0upti.meK900IFD is bad because you have to compute some build plan, then execute it, then use the output from that to compute more build plan19:45:19
@k900:0upti.meK900Which is slow and means you can't have a full build plan ahead of time19:45:28
@sheep_empress:matrix.orgsheep_empressI think part of the problem I'm having might be because I really don't know the full build plan ahead of time. I don't know what version of esbuild the build needs until I've run pnpm19:48:18
@k900:0upti.meK900Then you need to hardcode it in nixpkgs19:48:28
@k900:0upti.meK900And update it manually when updating the package19:48:34
@k900:0upti.meK900 Because nixpkgs tooling does need to know the full build plan ahead of time 19:48:42
@sheep_empress:matrix.orgsheep_empressWas worried that was going to be the answer. Thanks for all your help19:49:58

Show newer messages


Back to Room ListRoom Version: 6