!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

314 Members
99 Servers

Load older messages


SenderMessageTime
15 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)in what file?17:14:13
@dramforever:matrix.orgdramforeverthe file you linke17:14:23
@dramforever:matrix.orgdramforever* the file you linked17:14:25
@dramforever:matrix.orgdramforeverlast section17:14:27
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)right17:14:35
@dramforever:matrix.orgdramforever* last part in highlight section17:14:36
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)let me try!17:14:38
@dramforever:matrix.orgdramforeverthis just causes the same problem in the other direction right17:14:59
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)we'll see!17:16:46
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) i mean i did already find a couple fun packaging bugs 17:17:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)like qt6 completely exploding on a cross setup where the host platform can be executed from the build platform17:17:34
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)that one is super broken17:17:39
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and networkmanager using broken linker scripts17:17:50
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)anyways, i'll be here a while until i get to alacritty17:18:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)image.png
Download image.png
17:18:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)
diff --git a/pkgs/build-support/rust/lib/default.nix b/pkgs/build-support/rust/lib/default.nix
index e492d03e3026..a5769e761294 100644
--- a/pkgs/build-support/rust/lib/default.nix
+++ b/pkgs/build-support/rust/lib/default.nix
@@ -74,7 +74,7 @@
       # pkgsTargetTarget.stdenv.cc is often simply wrong.  We must omit
       # the following lines when rustTargetPlatform collides with
       # rustHostPlatform.
-      + lib.optionalString (rustTargetPlatform != rustHostPlatform) ''
+      + lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) ''
         "CC_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${ccForTarget}" \
         "CXX_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${cxxForTarget}" \
         "CARGO_TARGET_${stdenv.targetPlatform.rust.cargoEnvVarTarget}_LINKER=${ccForTarget}" \

This does seem to link alright, at least for the packages i have. It got past alacritty.
18:30:23
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yes yes, cursed cross stuff, and checking target platform is bad because it potentially kills cache. But i am building everything from source anyways so shucks18:32:22
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)now one more qt rebuild and i might have an llvm system18:33:03
@opna2608:matrix.orgPuna (!(lib.systems.equals stdenv.hostPlatform stdenv.targetPlatform)) 18:33:49
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yes, yes, but doesn't make a difference in my case18:45:31
@dramforever:matrix.orgdramforeverso you can tell it's wrong, right18:48:03
@dramforever:matrix.orgdramforeverbecause in this case cargoEnvVarTarget for host == cargoEnvVarTarget for target18:48:17
@dramforever:matrix.orgdramforeverso you're overwriting the earlier env vars18:50:55
@dramforever:matrix.orgdramforeveralso checking target in the rust hook is expected18:51:30
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)its alive!18:56:46
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)image.png
Download image.png
18:56:47
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://git.grimmauld.de/Grimmauld/grimm-musl/commit/03601e680f29c41cb45991d6093520605cb8123e there is some crimes in there...19:05:26
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and probably not all of the things i have in there / have tried are needed19:05:45
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but, it is musl llvm nixos19:05:51
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:23:31

Show newer messages


Back to Room ListRoom Version: 6