!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

225 Members
74 Servers

Load older messages


SenderMessageTime
11 May 2025
@p14:matrix.orgp14Do you happen to know of any good ways to visualise the dependency graph across the stages? I've resorted to injecting names into derivations to indicate which stage they're in, which helps, but within a stage it can be helpful to understand the why-depends relationships of things without having to manually invoke it repeatedly.19:03:57
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/NixOS/nixpkgs/blob/5d0f68d3c0af3ecd33697bccfba40f73c82526ca/pkgs/stdenv/linux/default.nix#L33-L5519:12:34
@reckenrode:matrix.orgRandy EckenrodeShould work for any stdenv that follows similar stage naming conventions.19:12:52
@reckenrode:matrix.orgRandy Eckenrode(I’ve used it when working on Darwin’s.)19:13:00
@trofi:matrix.orgtrofi+1. Yeah, I usually use that with a bit of grep tweaks.19:25:18
@p14:matrix.orgp14It'd be great if the stdenvs had differing names (I have given mine different names, but I'm also thinking of those appearing by use of overrideCC within llvm common.20:28:59
@reckenrode:matrix.orgRandy Eckenrode Darwin’s stdenv is stdenv-darwin, and its bootstrap stages are suffixed with -stdenv-darwin, but they follow the same bootstrap-stageX convention that Linux does, so that grep works on Darwin. 20:46:32
@reckenrode:matrix.orgRandy Eckenrode * Darwin’s stdenv is stdenv-darwin, and its bootstrap stages are suffixed with -stdenv-darwin, but they follow the same bootstrap-stageX convention that Linux does, so that grep still works. 20:46:42
16 May 2025
@rosscomputerguy:matrix.orgTristan Ross

NixOS 25.05 has branched off, if we're ready to bump LLVM then we can undraft https://github.com/NixOS/nixpkgs/pull/407738.

CC Randy Eckenrode emily

21:56:46
@emilazy:matrix.orgemily we should make sure Mesa + Firefox build on Linux, and both Darwin stdenvs bootstrap successfully 21:58:39
@emilazy:matrix.orgemilyother than that it should be good to go I think. should probably also bump Rust's LLVM21:58:49
@emilazy:matrix.orgemily (and commit message should be llvmPackages: llvmPackages_19 -> llvmPackages_20 according to conventions) 21:59:02
@emilazy:matrix.orgemilyalso needs a release note :)21:59:08
@rosscomputerguy:matrix.orgTristan Ross Will do, I'll build outside of staging since I don't want to waste compute heh. I'll check some pkgsLLVM things to see if they still work. 21:59:55
@emilazy:matrix.orgemilyit'll be a full rebuild for Darwin anyway22:00:16
@rosscomputerguy:matrix.orgTristan RossI was meaning for Linux since I don't touch Darwin lol22:00:44
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
we should make sure Mesa + Firefox build on Linux, and both Darwin stdenvs bootstrap successfully
My Swift branch is on LLVM 20 (because it’s required). I didn’t have a problem building the stdenv on aarch64-darwin.
22:01:38
@rosscomputerguy:matrix.orgTristan RossSeems like we need to bump spirv stuff for Firefox. Will do it in the PR.22:06:13
@emilazy:matrix.orgemilywould make sense to bump Rust at the same time since Firefox also tests LLVM on Linux quite a lot through that22:06:51
@rosscomputerguy:matrix.orgTristan Ross Alright, I might add a section to pkgs/development/compilers/llvm/README.md to document what's needed when bumping LLVM treewide since it seems there's quite a bit of stuff. 22:11:57
@emilazy:matrix.orgemily FWIW, rustc.passthru.tests covers all the Linux stuff 22:12:52
@emilazy:matrix.orgemily so Darwin stdenv + that + pkgsLLVM.hello should be sufficient if Rust is bumped 22:13:11
@emilazy:matrix.orgemilyI forget if we're expecting any major breaking changes from 2022:13:31
@emilazy:matrix.orgemilyfor 19 we did quite a lot of prep because a ton of things broke https://github.com/NixOS/nixpkgs/pull/35410722:13:41
@rosscomputerguy:matrix.orgTristan Ross Yeah, I'm thinking we could do a NixOS test in pkgsLLVM once we have it more workable 22:13:45
@emilazy:matrix.orgemilythough that was in part just because it was pre-branchoff22:13:54
@rosscomputerguy:matrix.orgTristan RossOh, yeah I forgot about that PR lol22:14:18
@reckenrode:matrix.orgRandy EckenrodeI have run into some other failures, but I don’t know if they’re related. catch2 (transitive dependency of mpv) fails to build. Another one did as well, but I don}t recall what it was off hand.22:58:51
@rosscomputerguy:matrix.orgTristan RossI think it's generally okay if there's some failures, it's just critical things. And we can fix it when we see it.23:18:46
@emilazy:matrix.orgemilytriage bandwidth is an issue, if it holds up security fixes in the -next cycle because a ton of stuff is broken on Darwin23:25:04

Show newer messages


Back to Room ListRoom Version: 9