!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

570 Members
124 Servers

Load older messages


SenderMessageTime
7 Dec 2025
@artturin:matrix.orgArtturin *

depsBuildBuild = [ pkgsBuildBuild.stdenv.cc ];, usually done as buildPackages.stdenv.cc in nixpkgs for some reason

stdenv is special in the way that it comes from the previous stage so for it either of those 2 is fine

buildPackages = pkgsBuildHost

21:11:04
@artturin:matrix.orgArtturin You can build stdenv.cc and see what's in it 21:16:28
@artturin:matrix.orgArtturinIt has the hooks to add the required vars and populate them21:16:42
@artturin:matrix.orgArtturin* It has the hooks to add the required vars and populate them for the wrapper21:16:54
10 Dec 2025
@truelle_trash_queen:matrix.orgTheodora changed their display name from Theodora The Absurdist Schizotisticoball to Theodora.12:17:32
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/46958413:02:15
11 Dec 2025
@creepinson:matrix.org@creepinson:matrix.org left the room.06:15:52
@theo-paris:matrix.orgTheo Paris joined the room.06:16:55
@suua:matrix.orgsuua joined the room.16:09:42
@curid:matrix.org@curid:matrix.org left the room.18:01:33
@tg-x:asra.grTG × ⊙ joined the room.19:53:03
14 Dec 2025
@thewholeworldisburning123:rougebordeaux.xyzmissbehaves changed their profile picture.14:29:09
17 Dec 2025
@nadia:nhp.shNadiadoes anyone have any insight in what could be going wrong here? I'm encountering the same problem (but I'm not the one who posted the thread) https://discourse.nixos.org/t/embedded-compilation-with-llvm-clang/7240614:43:13
@bake.monorail:matrix.orgbake.monorail Gentle reminder about the uclibc PR :) 23:00:15
18 Dec 2025
@bake.monorail:matrix.orgbake.monorailI'm rather sad that end-of-life'd compilers are dropped from nixpkgs. old compilers are sometimes very useful. is it such a large burden to keep them alive?13:18:38
@k900:0upti.meK900Yes13:19:06
@k900:0upti.meK900Extremely so13:19:08
@bake.monorail:matrix.orgbake.monorailcan you elaborate?13:19:47
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Who is going to fix things when they break?13:20:47
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)do you just assume they build forever?13:20:51
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)that's a veneer that nixpkgs provides because people fix it you know13:20:58
@k900:0upti.meK900Nixpkgs also patches compilers fairly extensively13:21:01
@k900:0upti.meK900And adds additional wrappers on top13:21:07
@k900:0upti.meK900Which needs to be compatible with all supported compilers13:21:18
@k900:0upti.meK900This is all a significant amount of work13:21:27
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) only the things that actually get used/maintained, or that don't break often are included in nixpkgs pretty much 13:21:32
@k900:0upti.meK900 Especially when we're basically banned from using new compiler features until all supported compilers support it 13:21:44
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)or at least that's the goal, and there's enough evidence of things being introduced that don't work like that in the past being stuck in nixpkgs that people rely on13:21:56
@bake.monorail:matrix.orgbake.monorail I'm looking at LLVM, there aren't a lot of patches, but yeah. 13:22:21
@k900:0upti.meK900You can go look at any previous GCC version removal PR13:22:25

Show newer messages


Back to Room ListRoom Version: 6