!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

232 Members
75 Servers

Load older messages


SenderMessageTime
15 Nov 2024
@emilazy:matrix.orgemily should be landing in staging soon 09:16:19
@emilazy:matrix.orgemilyplan is to update LLVM for Darwin and other platforms in lockstep in future09:16:59
@emilazy:matrix.orgemilywhich should be very good for LLVM in general, because we're the only ones building most of the package set with it09:17:12
@p14:matrix.orgp14Very cool to have gotten things into this state.09:17:13
@p14:matrix.orgp14It (the state of nixpkgs generally and the llvm side specifically) is a seriously impressive thing.09:17:55
@p14:matrix.orgp14Would be nice if more stuff built happily out of the box with clang.09:18:03
@emilazy:matrix.orgemilythe more we take an upstream-first approach the more the ecosystem will move in that direction :)09:18:24
@emilazy:matrix.orgemilyI'd rather Linux was using LLVM personally!09:18:39
@paparodeo:matrix.org@paparodeo:matrix.org
In reply to @emilazy:matrix.org
I've been having too much LLVM fun myself already lately: https://github.com/NixOS/nixpkgs/pull/354107
eh I broke eval on that one -- will fix.
09:19:39
@emilazy:matrix.orgemily
In reply to @p14:matrix.org
The failures mentioned in https://github.com/NixOS/nixpkgs/pull/354471 raise my eyebrows a bit, not sure what's going on there.
should maybe just send this to staging so you can do the --replace-fail thing?
09:19:46
@p14:matrix.orgp14I mean, I could also do replace-fail in a separate patch.09:20:04
@emilazy:matrix.orgemilysure :)09:20:09
@p14:matrix.orgp14But it's only a warning right now so not especially motivated to fix a single package.09:20:22
@p14:matrix.orgp14Though, is this the kind of thing that can even be done treewide? :hmm:09:20:39
@emilazy:matrix.orgemilythat was just being talked about in the dev room09:21:41
@p14:matrix.orgp14 Failing at first hurdle here emily - I was under the impression nostdinc was somehow conditioned on the target, or that darwin had a fix for it somehow, but I see it unconditionally here: https://github.com/NixOS/nixpkgs/blob/52bf1163fadb7ee5e21ee0b8e5cf266acb3e74e9/pkgs/development/compilers/llvm/common/default.nix#L533 09:21:52
@emilazy:matrix.orgemily I think yes as long as the people who do it actually show up to the staging-next cycle to fix everything 09:22:00
@emilazy:matrix.orgemilybecause there'll be a lot to fix09:22:05
@emilazy:matrix.orgemily
In reply to @p14:matrix.org
Failing at first hurdle here emily - I was under the impression nostdinc was somehow conditioned on the target, or that darwin had a fix for it somehow, but I see it unconditionally here: https://github.com/NixOS/nixpkgs/blob/52bf1163fadb7ee5e21ee0b8e5cf266acb3e74e9/pkgs/development/compilers/llvm/common/default.nix#L533
that commit is before the staging-next merge from ~yesterday
09:22:51
@emilazy:matrix.orgemilywhich is where I added the conditional09:22:56
@emilazy:matrix.orgemily(to unbreak Darwin stuff)09:23:01
@p14:matrix.orgp14Gotcha.09:23:03
@emilazy:matrix.orgemilyFWIW, the condition is Darwin host and Darwin target, but we can probably relax that to Darwin target.09:23:21
@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

Show newer messages


Back to Room ListRoom Version: 9