Nixpkgs Stdenv | 233 Members | |
| 75 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Nov 2024 | ||
| Linux-to-Darwin cross doesn't even work yet for one | 09:23:56 | |
| and when it does the divergence will become annoying | 09:24:00 | |
| https://matrix.to/#/!ayCRiZriCVtuCUpeLp:nixos.org/$qpO1aqKQfb-3zGKi_wHlLgQ-nCND4chY_Tc5kHQHqNQ?via=nixos.org&via=matrix.org&via=tchncs.de was just asking about linux-to-darwin cross. I was under the impression it isn't possible. Is there a way? | 09:24:29 | |
| I'll reply there :) | 09:25:03 | |
In reply to @emilazy:matrix.orgI sent this as a separate patch. https://github.com/NixOS/nixpkgs/pull/356120 | 09:52:50 | |
| Currently untested while I await a bunch of staging to build. Is there some automated on-PR testing available? | 09:53:30 | |
don't you mean --replace-fail '--replace ' '--replace-fail '? | 09:54:56 | |
In reply to @p14:matrix.orgofborg does build staging PRs. | 09:55:05 | |
| I'd be happy to just hit the button on this though. | 09:55:27 | |
I'm going to bootstrap a Darwin stdenv on the latest staging in the next day or so. | 09:55:36 | |
| so if it breaks I know who to complain to | 09:55:44 | |
| this will break the Git LLVM without that other PR, though, right? | 09:55:51 | |
| those test failures didn't seem like they ought to be related to me | 09:55:57 | |
| Agree with everything you said. | 09:56:09 | |
In reply to @p14:matrix.organother thing you can/should do is base your PR on git merge-base upstream/master upstream/staging | 09:56:26 | |
which lets you target staging but get master amounts of rebuilds for testing | 09:56:38 | |
(of course you don't test its combination with other staging changes but it's better than nothing) | 09:56:54 | |
| It doesn't apply on that unfortunately | 09:57:03 | |
| right. tragic | 09:57:46 | |
| (but thanks for the hint! Hopefully I remember that trick when I future have to target staging) | 09:58:08 | |
usually you can just base it on master. the merge base stuff only matters if something from the 6-hour window before the next merge is relevant to your change | 09:58:44 | |
| well, relevant or conflicting | 09:59:15 | |
| Depending on the nature of the change I guess there is always some risk from the delta. | 10:00:07 | |
| But same can be said from the delta of when the PR was made vs when it lands I suppose.. | 10:00:26 | |
staging is kind of an aggregator of fun unexpected risk | 10:01:39 | |
| mostly by successfully decoupling making changes from dealing with the pain they produce 😅 | 10:02:21 | |
| 10:17:15 | ||
| emily: one thing I wanted to discuss with you which is a CA /storage footgun: https://github.com/NixOS/nixpkgs/issues/153793 The route is that the current implementation does (-frandom-seed=drvHash). | 10:40:05 | |
-frandom-seed is a real pain | 10:40:59 | |
| "the hash of the path of the object file being built so that it is unique to the object file rather than the project being built" doesn't even work because you can have two copies of the same file, or compile the same file twice, or whatever, I think | 10:41:30 | |