!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

565 Members
120 Servers

Load older messages


SenderMessageTime
16 Jun 2025
@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
@artturin:matrix.orgArtturin* hello = hello // { __spliced = { buildHost = pkgsBuildHost.hello; hostTarget = pkgsHostTarget.hello; };}21:12:46
@artturin:matrix.orgArtturin* `hello = hello // { __spliced = { buildHost = pkgsBuildHost.hello; hostTarget = pkgsHostTarget.hello; };}`21:12:56
@artturin:matrix.orgArtturin* ``` # pkgsHostTarget = pkgs helloHostTarget = pkgsHostTarget.hello.override; hello = helloHostTarget // { __spliced = { buildHost = pkgsBuildHost.hello; hostTarget = helloHostTarget; };} ```21:15:24
@qyliss:fairydust.spaceAlyssa Ross
In reply to @rhelmot:matrix.org
when are we changing nativeBuildInputs
You can already call it depsBuildHost instead.
22:34:09
@genericnerdyusername:matrix.orgGenericNerdyUsernamemessed around with a lot of stuff22:53:49
@genericnerdyusername:matrix.orgGenericNerdyUsername turns out the .option rvc directive lets the assembler use the compressed instructions extension even when your -march doesnt support it 22:54:26
@genericnerdyusername:matrix.orgGenericNerdyUsernameis this something i should report?22:55:04
@genericnerdyusername:matrix.orgGenericNerdyUsernameif yes, how?22:55:06
17 Jun 2025
@alexfmpe:matrix.orgalexfmpe
> pkgsCross.aarch64-android-prebuilt.stdenv.hostPlatform.isAndroid
true
> pkgsCross.aarch64-android-prebuilt.pkgsStatic.stdenv.hostPlatform.isAndroid
false

: (╯° °)╯︵ ┻━┻)

00:57:10
@alexfmpe:matrix.orgalexfmpemaybe https://github.com/NixOS/nixpkgs/pull/380342 ?00:57:17

Show newer messages


Back to Room ListRoom Version: 6