!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

229 Members
74 Servers

Load older messages


SenderMessageTime
15 Nov 2024
@emilazy:matrix.orgemilythere's some iffiness around using the compiler outside the sandbox without an SDK to do Linux-to-Darwin cross but… eh…09:23:40
@emilazy:matrix.orgemilyLinux-to-Darwin cross doesn't even work yet for one09:23:56
@emilazy:matrix.orgemilyand when it does the divergence will become annoying09:24:00
@p14:matrix.orgp14https://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
@emilazy:matrix.orgemilyI'll reply there :)09:25:03
@p14:matrix.orgp14
In reply to @emilazy:matrix.org
should maybe just send this to staging so you can do the --replace-fail thing?
I sent this as a separate patch. https://github.com/NixOS/nixpkgs/pull/356120
09:52:50
@p14:matrix.orgp14Currently untested while I await a bunch of staging to build. Is there some automated on-PR testing available?09:53:30
@emilazy:matrix.orgemily don't you mean --replace-fail '--replace ' '--replace-fail '? 09:54:56
@emilazy:matrix.orgemily
In reply to @p14:matrix.org
Currently untested while I await a bunch of staging to build. Is there some automated on-PR testing available?
ofborg does build staging PRs.
09:55:05
@emilazy:matrix.orgemilyI'd be happy to just hit the button on this though.09:55:27
@emilazy:matrix.orgemily I'm going to bootstrap a Darwin stdenv on the latest staging in the next day or so. 09:55:36
@emilazy:matrix.orgemilyso if it breaks I know who to complain to09:55:44
@emilazy:matrix.orgemilythis will break the Git LLVM without that other PR, though, right?09:55:51
@emilazy:matrix.orgemilythose test failures didn't seem like they ought to be related to me09:55:57
@p14:matrix.orgp14Agree with everything you said.09:56:09
@emilazy:matrix.orgemily
In reply to @p14:matrix.org
Currently untested while I await a bunch of staging to build. Is there some automated on-PR testing available?
another thing you can/should do is base your PR on git merge-base upstream/master upstream/staging
09:56:26
@emilazy:matrix.orgemily which lets you target staging but get master amounts of rebuilds for testing 09:56:38
@emilazy:matrix.orgemily (of course you don't test its combination with other staging changes but it's better than nothing) 09:56:54
@p14:matrix.orgp14It doesn't apply on that unfortunately09:57:03
@emilazy:matrix.orgemilyright. tragic09:57:46
@p14:matrix.orgp14(but thanks for the hint! Hopefully I remember that trick when I future have to target staging)09:58:08
@emilazy:matrix.orgemily 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
@emilazy:matrix.orgemilywell, relevant or conflicting09:59:15
@p14:matrix.orgp14Depending on the nature of the change I guess there is always some risk from the delta.10:00:07
@p14:matrix.orgp14But same can be said from the delta of when the PR was made vs when it lands I suppose..10:00:26
@emilazy:matrix.orgemily staging is kind of an aggregator of fun unexpected risk 10:01:39
@emilazy:matrix.orgemilymostly by successfully decoupling making changes from dealing with the pain they produce 😅10:02:21
@zoechi:matrix.orgzoechi joined the room.10:17:15
@p14:matrix.orgp14

emily: one thing I wanted to discuss with you which is a CA /storage footgun: https://github.com/NixOS/nixpkgs/issues/153793
The current implementation of this makes binary outputs of derivations depend on the derivation hash, which pretty much completely negates any CA benefit. Unfortunately in the reproducible-builds sense, changing the random seed changes build outputs.

The route is that the current implementation does (-frandom-seed=drvHash).

10:40:05
@emilazy:matrix.orgemily -frandom-seed is a real pain 10:40:59

Show newer messages


Back to Room ListRoom Version: 9