!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

225 Members
72 Servers

Load older messages


SenderMessageTime
26 May 2025
@emilazy:matrix.orgemily

https://github.com/emilazy/nixpkgs/commits/push-vsxoyyworlsz is including the Darwin kernel versions. IIRC I ran into issues with this that made me postpone it to post-release but I forget where. https://github.com/emilazy/nixpkgs/commits/push-rkpovppmolzv is using macosx. I didn't try combining the two since macosx failed so early in bootstrap, but I imagine if you get macosx working then adding the version would be easy.

you probably know this, but for macosx* the suffix is the actual macOS version, as opposed to darwin*'s kernel version. that's convenient since we can just append the minimum version directly. LLVM knows how to translate between the two. OTOH I think there are a fair number of build systems that just match on darwin* for version, like the GNU toolchain certainly, so those will need teaching about it. one option is probably just to have a gnuTarget or whatever so that we can mangle the targets for those things. the idea of having one single triple is unworkable anyway. (autotools itself just doesn't care about the version suffices for Darwin I think, though maybe some extension modules for it do.)

12:19:03
@emilazy:matrix.orgemily we might want something in the kernel struct for if isMacOS then "darwin" else parsed.kernel.name since it seems to come up a lot, but OTOH a lot of those instances already have other special cases that I just extended, so maybe it'd be better to have go.* and node.* and stuff like we have rust.*12:20:39
@trofi:matrix.orgtrofigcc does not require copyright assignment: https://gcc.gnu.org/dco.html12:49:35
@rosscomputerguy:matrix.orgTristan Ross
In reply to @emilazy:matrix.org
(not sure why we are doing more calls after everyone else on the team said it's not a good fit…)
I know not everyone is available for calls which is why I made a doc. I think a mixture of async + sync is good. We can all be on the same page with the design doc while some of us are doing a call to pair up and blaze through things.
20:42:22
@rosscomputerguy:matrix.orgTristan Ross
In reply to @trofi:matrix.org

Split GCC up similar to LLVM to accomplish this

I would suggest getting llvm-only bootstrap on linux first :)

An LLVM only bootstrap would take a lot of work that I'd be comfortable with after we have toolchain attrs
20:50:44
@rosscomputerguy:matrix.orgTristan RossIt would certainly be easier20:51:34
@Ericson2314:matrix.orgJohn EricsonUnless we drop GCC although, I think the GCC split up is something we need to do either way 20:55:01
@rosscomputerguy:matrix.orgTristan RossYeah, but I don't think we can drop GCC.21:04:07
@rosscomputerguy:matrix.orgTristan RossI consider it part of the "defacto standard Linux environment"21:04:27
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)tbf, fhs-compliance is also part of the de-facto standard...21:04:57
@rosscomputerguy:matrix.orgTristan Ross Kinda like GNU coreutils 21:05:01
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)nothing that can't be fixed given enough patches21:05:08
@rosscomputerguy:matrix.orgTristan Ross
In reply to @grimmauld:grapevine.grimmauld.de
tbf, fhs-compliance is also part of the de-facto standard...
Well, we're exempt from that
21:05:13
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i quite enjoy building the same thing with different toolchains - it shows where the flaky parts are, where assumptions are being made that might not hold21:06:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) not having gcc would be fancy. 21:06:24
@trofi:matrix.orgtrofiwould be nice not to have a cross-only llvm21:06:41
@trofi:matrix.orgtrofibut having an llvm-only bootstrap would be a good test if it's easy to make a componentized-gcc bootstrap21:07:09
@trofi:matrix.orgtrofi(i think it's very much not easy, but you already know that)21:07:33
@rosscomputerguy:matrix.orgTristan Ross Yeah 21:08:44
@rosscomputerguy:matrix.orgTristan Ross I've already been looking into things to make it possible 21:08:54
@rosscomputerguy:matrix.orgTristan Ross One of the reasons why I've been working on fixing up pkgsLLVM 21:09:11
@rosscomputerguy:matrix.orgTristan Ross More things that work there, the better they'll work natively 21:09:24
@rosscomputerguy:matrix.orgTristan Ross Plus, I'll run native LLVM once it's possible 21:09:35
@rosscomputerguy:matrix.orgTristan RossRebuild the world on Ampere with 128 cores.21:09:50
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) before i do that i want proper tooling to not do world rebuilds whenever i poke at some low-level dep... 21:10:30
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i suppose thatn is on nix, not stdenv...21:10:45
@trofi:matrix.orgtrofiYeah, nix does not give you an easy way to graft a low-level dependency.21:11:48
@emilazy:matrix.orgemily
In reply to @rosscomputerguy:matrix.org
I know not everyone is available for calls which is why I made a doc. I think a mixture of async + sync is good. We can all be on the same page with the design doc while some of us are doing a call to pair up and blaze through things.
I'm not sure how we're meant to work together as a team when IIRC every single other member present agreed that sync calls don't suit their availability... if the vast majority of the team can't make the calls then we can't make collective decisions on them as a team, so either it won't actually be able to move design/decisions forward or it'll just be pushing things through without consensus.
21:22:01
@emilazy:matrix.orgemilyeven if we had the collective availability for it it's very hard to schedule sync calls across a distributed international team on a regular basis unless there's consistent availability at specific times21:22:45
@emilazy:matrix.orgemilywhich is not really realistic when we are all working as volunteers and have communicated the constraints on our time and how we can best collaborate effectively under them...21:23:15

Show newer messages


Back to Room ListRoom Version: 9