!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

564 Members
118 Servers

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


SenderMessageTime
18 Dec 2025
@matthewcroughan:defenestrate.itmatthewcroughanIf it's "not that hard" as you say, then why not just keep an overlay? Not that hard either?13:31:55
@bake.monorail:matrix.orgbake.monorailI think compilers could be an exception due to their role in enabling building other software. but yeah, I feel like we're delving more on opinions rather than hard facts about what's specifically hard.13:32:16
@matthewcroughan:defenestrate.itmatthewcroughanI mean, provide it as an overlay or flake then if you feel that way?13:32:48
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/autc04/Retro6813:32:49
@matthewcroughan:defenestrate.itmatthewcroughancheck that out13:32:52
@matthewcroughan:defenestrate.itmatthewcroughanthe maintenance status of retro68 makes it pretty valid for inclusion in nixpkgs instead of being its own flake though13:33:11
@matthewcroughan:defenestrate.itmatthewcroughanwhereas an out-of-date unmaintained thing is less relevant for nixpkgs inclusion13:33:30
@matthewcroughan:defenestrate.itmatthewcroughanstill shows how you can provide all that infra just fine outside of nixpkgs though13:33:46
@matthewcroughan:defenestrate.itmatthewcroughanLike, overlays, overrideAttrs, override, all provide you with ways of achieving what you want to do, you can't keep everything forever in the tree13:35:37
@bake.monorail:matrix.orgbake.monorail I feel you're being a bit unnecessarily adversarial. this said, having an overlay is quite different story, since it does not enable you to reuse "private" logic from nixpkgs.
for instance, in the GCC package it's not possible to override the versions without forking (there's a "private" variable determining the versions).
13:35:42
@bake.monorail:matrix.orgbake.monorail * I feel you're being a bit unnecessarily adversarial. this said, having an overlay is a quite different story, since it does not enable you to reuse "private" logic from nixpkgs.
for instance, in the GCC package it's not possible to override the versions without forking (there's a "private" variable determining the versions).
13:36:13
@matthewcroughan:defenestrate.itmatthewcroughanNot at all trying to be adversarial, just stating that if you want something like you're asking for, you should maintain it in your own tree, and this is what other people do too13:36:18
@matthewcroughan:defenestrate.itmatthewcroughanAnd that there's nothing too bad about providing toolchains in overlays13:36:41
@matthewcroughan:defenestrate.itmatthewcroughanlike providing toolchains as overlays in nix works well13:37:04
@emilazy:matrix.orgemily(as the person who dropped the most recent batch of GCCs and LLVMs:) yes, it is a meaningful burden on LLVM and GCC maintenance13:38:48
@matthewcroughan:defenestrate.itmatthewcroughan The fact that it's in a file means it's not private, you could just versions = import ./pkgs.path + "pkgs/development/compilers/gcc/versions.nix"; no? 13:39:19
@matthewcroughan:defenestrate.itmatthewcroughan * The fact that it's in a file means it's not private, you could just versions = (import ./pkgs.path + "pkgs/development/compilers/gcc/versions.nix"); no? 13:39:34
@bake.monorail:matrix.orgbake.monorail even without taking cc-wrapper into account? 13:39:41
@matthewcroughan:defenestrate.itmatthewcroughan * The fact that it's in a file means it's not private, you could just versions = (import ./pkgs.path + "/pkgs/development/compilers/gcc/versions.nix"); no? 13:39:44
@emilazy:matrix.orgemilyyes13:39:45

Show newer messages


Back to Room ListRoom Version: 6