!UNVBThoJtlIiVwiDjU:nixos.org

Staging

318 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen109 Servers

Load older messages


SenderMessageTime
3 Oct 2025
@dramforever:matrix.orgdramforeveri have no clue where the supposed llvm 21 is from14:26:02
@dramforever:matrix.orgdramforever i think i'm going insane, what the actual hell is /nix/store/qwm51br82iq2yxfj3zqil0bpd3vij1sd-llvm-src-21.1.1 14:27:07
@dramforever:matrix.orgdramforever and /nix/store/pxg5anhdr87k9l46wzq9dnj1iirq6i7z-llvm-21.1.1.drv 14:27:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)context?14:34:37
@dramforever:matrix.orgdramforeverthis14:34:55
@dramforever:matrix.orgdramforever nix eval github:NixOS/nixpkgs/4447b9d3e439b3c0e0b3f824a28025921797d179#legacyPackages.aarch64-darwin.llvm.src.outPath gives me "/nix/store/l65z6113wqkw3y4wh031r6f1bz67miy7-llvm-src-21.1.1" 14:35:22
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)sec14:35:33
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i'll tell you14:35:37
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i think its this: https://github.com/NixOS/nixpkgs/blob/cf9a3a11f8d3ac7b612774148560d91ea4e40ac5/pkgs/stdenv/darwin/stdenv-bootstrap-tools.nix#L183 maybe?14:38:52
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ah wait thats bin, might not be it14:39:04
@ghpzin:envs.netghpzinhttps://github.com/NixOS/nixpkgs/blob/cf9a3a11f8d3ac7b612774148560d91ea4e40ac5/pkgs/development/compilers/llvm/common/llvm/default.nix#L9314:39:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but anyways, thats what the bootstrap tools build thing calls14:39:21
@ghpzin:envs.netghpzin https://github.com/NixOS/nixpkgs/blob/cf9a3a11f8d3ac7b612774148560d91ea4e40ac5/pkgs/development/compilers/llvm/common/llvm/default.nix#L93
llvm-src- builder thing
14:40:02
@dramforever:matrix.orgdramforeverhow do i find this from an attribute14:40:31
@dramforever:matrix.orgdramforever llvm.src is not that apparently 14:40:41
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) Is llvmPackages.llvm different from llvm somehow? 14:41:14
@dramforever:matrix.orgdramforeverno14:41:38
@dramforever:matrix.orgdramforever llvmPackages.llvm.src is the same thing 14:41:47
@dramforever:matrix.orgdramforever like i'm trying to find a nix eval command that comes up with /nix/store/qwm51br82iq2yxfj3zqil0bpd3vij1sd-llvm-src-21.1.1 14:42:23
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)you are sure you are on the same nixpkgs rev?14:42:57
@dramforever:matrix.orgdramforeveri'm looking at https://hydra.nixos.org/build/30813752814:43:19
@dramforever:matrix.orgdramforever inputs -> nixpkgs says 4447b9d3e439b3c0e0b3f824a28025921797d179 14:43:33
@lt1379:matrix.orgLuni slept through getting to panic about this thanks for sorting it!14:43:35
@dramforever:matrix.orgdramforever i do nix eval github:NixOS/nixpkgs/4447b9d3e439b3c0e0b3f824a28025921797d179#legacyPackages.aarch64-darwin.llvm.src.outPath and it's not that 14:43:53
@dramforever:matrix.orgdramforeveris it somehow different if i eval on macos14:44:05
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/blob/cf9a3a11f8d3ac7b612774148560d91ea4e40ac5/pkgs/development/compilers/llvm/common/llvm/default.nix#L49 is this maybe interferring?14:44:49
@dramforever:matrix.orgdramforeverwtf14:45:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no worries as long as you don't complain about my shoddy work XD14:46:22
@lt1379:matrix.orgLuniiuc bootstrap compilers being built with this flag basically doesn't matter because we have multiple stages and nothing should really survive from that to be used at runtime on a nixos system, so it would have been ok to flip it off for that. i like the idea of having aslr for them just so everything's the same but i'm not sure what the threat model is where someone is relying on attacking some memory corruption issue in the bootstrap tools14:46:22
@lt1379:matrix.orgLun* iiuc bootstrap compilers being built with this flag basically doesn't matter because we have multiple stages and nothing should really survive from that to be used at runtime on a nixos system, so it would have been ok to flip it off for that. i like the idea of having aslr for them just so everything's the same but i'm not sure what the threat model is where someone is relying on attacking some memory corruption issue in the bootstrap phases14:47:07

Show newer messages


Back to Room ListRoom Version: 6