!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

302 Members
92 Servers

Load older messages


SenderMessageTime
15 Nov 2025
@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
16 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) https://github.com/NixOS/nixpkgs/blob/c5ae371f1a6a7fd27823bc500d9390b38c05fa55/pkgs/by-name/do/doctest/package.nix#L40-L50
this one is confusing me. Supposedly llvm21 is fixed, but pkgsLLVM.doctest fails unless i also add -Wno-error=thread-safety-negative
12:27:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)do i just add that? What is our stance on silencing warnings like that?12:28:20
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i can't find any upstream issues about it either12:29:05
@symphorien:xlumurb.eusymphorienthe opinion of the nixpkgs core team is linked in this post https://discourse.nixos.org/t/nixpkgs-core-team-update-2025-11-04/7174212:58:53
18 Nov 2025
@grimmauld:m.grimmauld.degrimmauld (any/all) joined the room.08:24:55
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 to jopejoe1 (4094@39c3).20:18:56
19 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)
nix why-depends /nix/store/64324wnvzc6308591l5ckwmwyjbx4ay6-krb5-x86_64-unknown-linux-musl-1.22.1-lib /nix/store/2fwx03hyi4azqfwa0ayx6y6affy06rxr-x86_64-unknown-linux-musl-clang-wrapper-21.1.2 --precise --all
/nix/store/64324wnvzc6308591l5ckwmwyjbx4ay6-krb5-x86_64-unknown-linux-musl-1.22.1-lib
└───lib/krb5/plugins/preauth/pkinit.so: …inux-musl-21.1.2/lib:/nix/store/7pcr012rp5r4fiyz6mnpjkssx08wac5v-openssl-x86_64-unknown-linux-mu…
    lib/krb5/plugins/preauth/spake.so: …inux-musl-21.1.2/lib:/nix/store/7pcr012rp5r4fiyz6mnpjkssx08wac5v-openssl-x86_64-unknown-linux-mu…
    lib/krb5/plugins/tls/k5tls.so: …inux-musl-21.1.2/lib:/nix/store/7pcr012rp5r4fiyz6mnpjkssx08wac5v-openssl-x86_64-unknown-linux-mu…
    → /nix/store/7pcr012rp5r4fiyz6mnpjkssx08wac5v-openssl-x86_64-unknown-linux-musl-3.6.0
    └───lib/libcrypto.so.3: …~#.o~#.....compiler: /nix/store/2fwx03hyi4azqfwa0ayx6y6affy06rxr-x86_64-unknown-linux-musl-clang…
        → /nix/store/2fwx03hyi4azqfwa0ayx6y6affy06rxr-x86_64-unknown-linux-musl-clang-wrapper-21.1.2

Uhh, i am seeing build clang leaking into host musl, this is not intended, right?
16:05:06
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)(on llvm musl, of course)16:05:26
@k900:0upti.meK900Via openssl?16:07:13
@k900:0upti.meK900Probably needs to be patched out16:07:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) yeah, downstream things break, like libpq having disallowed requisites on stdenv.cc 16:10:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)thats how i noticed16:10:33
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)wait i can't read, this is krb5 being wonky, not musl itself16:12:06
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but yes, via openssl16:13:34
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) compiler: /nix/store/2fwx03hyi4azqfwa0ayx6y6affy06rxr-x86_64-unknown-linux-musl-clang-wrapper-21.1.2/bin/x86_64-unknown-linux-musl-clang -fPIC -pthread -m64 -Wa,--noexecstack -Qunused-arguments -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL
the entire compiler CLI is in there... Wild.
16:22:00
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)Found the culprit!16:27:55

Show newer messages


Back to Room ListRoom Version: 6