!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
124 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Dec 2025
@bake.monorail:matrix.orgbake.monorailthanks, I will take a look, that's what I was looking for13:49:00
@emilazy:matrix.orgemilyin some ways it is ideal: you get a less patched compiler that is closer to the old version you actually want, with versions of its dependencies closer to what it actually expected at the time13:52:37
@emilazy:matrix.orgemilyretro X tends to go a lot better with retro Y13:52:44
@emilazy:matrix.orgemily(which is why another side effect of packaging old versions is that you end up with the exponential cost of carrying old versions of entire dependency trees all the way)13:53:06
@bake.monorail:matrix.orgbake.monorailyeah but importing nixpkgs multiple times is Sad™13:53:37
@emilazy:matrix.orgemilywell, then just import one? :)13:54:05
@emilazy:matrix.orgemily(mixing a compiler from one version with packages from another isn't a great idea anyway)13:54:17
@bake.monorail:matrix.orgbake.monorailstuck in 2021 forever13:54:18
@emilazy:matrix.orgemilywell, yes… if the premise is using a compiler from 2021, that's the life you've chosen :)13:54:38
@bake.monorail:matrix.orgbake.monoraileh, it's more complicated than that, but OK13:54:57
@bake.monorail:matrix.orgbake.monorail more on practical things, I assume you're somehow involved in maintaing compilers, what would you think about making compilers more externally overridable (I'm thinking about making versions an argument of pkgs/development/compilers/gcc/all.nix. I guess it wouldn't be too bad, what do think? 13:56:57
@bake.monorail:matrix.orgbake.monorail * more on practical things, I assume you're somehow involved in maintaing compilers, what would you think about making compilers more externally overridable (I'm thinking about making versions an argument of pkgs/development/compilers/gcc/all.nix. I guess it wouldn't be too bad, what do you think? 13:57:01
@bake.monorail:matrix.orgbake.monorail * more on practical things, I assume you're somehow involved in maintaing compilers, what would you think about making compilers more externally overridable. I'm thinking about making versions an argument of pkgs/development/compilers/gcc/all.nix. I guess it wouldn't be too bad, what do you think? 13:57:16
@emilazy:matrix.orgemilywouldn't really do much good14:01:13
@emilazy:matrix.orgemilythe GCC derivations have pretty extensive version conditionals14:01:20
@emilazy:matrix.orgemilythe LLVM ones are closer to being something you can reasonably override versions out-of-tree but still not really there14:01:35
@emilazy:matrix.orgemily I suggest just maintaining a fork of gcc/ 14:01:45
@emilazy:matrix.orgemily it will be less painful than a nest of hacky overrideAttrs 14:02:00

Show newer messages


Back to Room ListRoom Version: 6