!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
128 Servers

Load older messages


SenderMessageTime
16 Jun 2025
@k900:0upti.meK900There's now a separate source release with gold for people that really want it for whatever reason16:54:44
@k900:0upti.meK900Which I guess includes nixpkgs16:54:50
@genericnerdyusername:matrix.orgGenericNerdyUsernameohhh16:54:59
@k900:0upti.meK900You can see there's a binutils-2.44.tar.*16:56:03
@k900:0upti.meK900That one doesn't have gold16:56:06
@genericnerdyusername:matrix.orgGenericNerdyUsername yeah, i was just confused bc no other version has a -with-gold version 16:56:41
@genericnerdyusername:matrix.orgGenericNerdyUsernamei dont really know what to do next about this16:57:55
@qyliss:fairydust.spaceAlyssa RossBisect binutils?17:22:59
@genericnerdyusername:matrix.orgGenericNerdyUsernameis there a way of doing that without rebuilding everything binutils depends on?17:27:36
@qyliss:fairydust.spaceAlyssa RossThe easy hack would be to override the source conditionally depending on targetPlatform17:36:09
@genericnerdyusername:matrix.orgGenericNerdyUsernamewarn17:46:24
@genericnerdyusername:matrix.orgGenericNerdyUsernameoops this isnt my browser17:46:40
@rhelmot:matrix.orgrhelmotdoes doing an override mess up splicing?21:04:42
@rhelmot:matrix.orgrhelmotimage.png
Download image.png
21:05:07
@rhelmot:matrix.orgrhelmotthis seems baffling to me lol21:05:13
@rhelmot:matrix.orgrhelmot the consequence of this seems to be that if I plop any overridden derivation into nativeBuildInputs it does not get spliced over to buildHost 21:05:56
@artturin:matrix.orgArtturin
In reply to @rhelmot:matrix.org
does doing an override mess up splicing?
Yes it discards splicing
21:07:16
@artturin:matrix.orgArtturinSo get from the right attrset21:07:24
@rhelmot:matrix.orgrhelmotugh. thank you21:07:31
@artturin:matrix.orgArtturinpkgsBuildHost21:07:33
@rhelmot:matrix.orgrhelmotis that a more canonical name for buildPackages21:07:59
@artturin:matrix.orgArtturinYeah21:08:05
@rhelmot:matrix.orgrhelmotnice21:08:13
@rhelmot:matrix.orgrhelmotwhen are we changing nativeBuildInputs21:08:27
@artturin:matrix.orgArtturinWhen stdenv2 lol21:08:49
@artturin:matrix.orgArtturin
In reply to @rhelmot:matrix.org
sent an image.
If the package is used in both nativeBuildInputs and buildInputs then you can replace the valuessa in __spliced
21:10:06
@artturin:matrix.orgArtturin* If the package is used in both nativeBuildInputs and buildInputs then you can replace the values in __spliced21:10:17
@artturin:matrix.orgArtturinhello = hello // { __spliced = { buildHost = ...; hostTarget = ...; };}21:12:02
@artturin:matrix.orgArtturin* `hello = hello // { __spliced = { buildHost = ...; hostTarget = ...; };}`21:12:11
@rhelmot:matrix.orgrhelmot...wow21:12:16

Show newer messages


Back to Room ListRoom Version: 6