!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

586 Members
Rust129 Servers

Load older messages


SenderMessageTime
1 Jul 2025
@qyliss:fairydust.spaceAlyssa Rossand always has been, or?15:35:55
@dramforever:matrix.orgdramforevernewly, unless i put the unsafeDiscardStringContext in15:36:17
@qyliss:fairydust.spaceAlyssa Rossoh15:36:38
@dramforever:matrix.orgdramforeveroh then it's just broken but more subtly15:36:38
@qyliss:fairydust.spaceAlyssa Rossbroken how?15:36:43
@emilazy:matrix.orgemilyI really think it's a good idea to avoid those filenames including a derivation hash.15:37:22
@emilazy:matrix.orgemilyNix just does not handle that well.15:37:27
@emilazy:matrix.orgemily if we want to avoid people assuming it matches the triple, then add a tricked-you- prefix or something 15:37:39
@dramforever:matrix.orgdramforevercan you do that in lib?15:37:56
@qyliss:fairydust.spaceAlyssa Rossyeah that's the problem15:38:08
@dramforever:matrix.orgdramforeverokay it might not be broken for native comp15:38:49
@emilazy:matrix.orgemily do we need to support rust.platform 15:38:58
@emilazy:matrix.orgemily people can just manually rustcTargetSpec 15:39:03
@dramforever:matrix.orgdramforever

buf for fastCross this can't be right... right?

mkdir -p build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-{std,rustc}/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/
```
15:39:20
@dramforever:matrix.orgdramforever *

buf for fastCross this can't be right... right?

mkdir -p build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-{std,rustc}/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/
15:39:25
@emilazy:matrix.orgemilyanyway I believe you can actually make a directory in pure Nix15:39:35
@emilazy:matrix.orgemilyby doing awful NAR unpacking hacks or something15:39:38
@dramforever:matrix.orgdramforeveroh god15:39:48
@qyliss:fairydust.spaceAlyssa RossOkay rust-hypervisor-firmware may not actually be broken. Apparently it's expected to build it without cross compiling explicitly, and you have to allow unsupported systems: https://github.com/NixOS/nixpkgs/pull/378694#issuecomment-263773905315:40:21
@emilazy:matrix.orgemily…I'd call that broken15:41:01
@qyliss:fairydust.spaceAlyssa RossIt's evidently in use, or at least cared about15:41:21
@dramforever:matrix.orgdramforeverno i think that's just the meta.platforms being wrong15:41:53
@dramforever:matrix.orgdramforeveroh wait no it's doing cross compile in secret15:42:07
@qyliss:fairydust.spaceAlyssa Rossyeah15:42:11
@qyliss:fairydust.spaceAlyssa Rossit's horrible15:42:12
@dramforever:matrix.orgdramforeverbut then that new rustPlatform should pick up the right platform15:42:22
@dramforever:matrix.orgdramforeveranyway the unsupported platform thing is just a meta issue i think15:42:59
@emilazy:matrix.orgemilyI have a ridiculous idea for the target spec things15:43:50
@emilazy:matrix.orgemily what if we make a directory and put nixpkgs-{build,host,target}-platform.json symlinks to the rustcTargetSpec in there 15:44:26
@emilazy:matrix.orgemilythen the derivation hashes don't get included in the names15:44:51

Show newer messages


Back to Room ListRoom Version: 6