| 26 Feb 2026 |
dramforever | but if you're using not pkgsCross.<target>.stdenv the splicing is probably wrong | 20:52:39 |
@rosssmyth:matrix.org | So the answer to "why doesn't this always work" is "shrug the linker should be able to find it" | 20:53:12 |
dramforever | i'm so utterly confused | 20:53:48 |
dramforever | do you have a nixpkgs commit where pkgsCross.mingwW64.ripgrep is broken? | 20:54:04 |
@rosssmyth:matrix.org | No, because it isn't always broken even on the same commit | 20:55:20 |
@rosssmyth:matrix.org | There is some impurity | 20:55:28 |
@rosssmyth:matrix.org | https://github.com/NixOS/nixpkgs/issues/139966#issuecomment-2660594889 | 20:55:42 |
@rosssmyth:matrix.org | The issue author says it is because a different pthread library is being picked up | 20:56:32 |
@rosssmyth:matrix.org | But that is the error that occurs | 20:57:02 |
dramforever | so there are two screenshots | 20:58:00 |
dramforever | the first one is using the wrong ld which we can just ignore | 20:58:13 |
dramforever | and the second one is also using the wrong ld | 20:59:39 |
dramforever | it's the unwrapped ld | 20:59:46 |
dramforever | oh no | 20:59:47 |
emily | do I get points for guessing right? | 21:02:18 |
dramforever | no because i can't reproduce it | 21:04:14 |
dramforever | * not yet because i can't reproduce it | 21:04:19 |
Randy Eckenrode | Does it do the right thing if I add pkgsCross.<target>.package to buildInputs? | 21:14:08 |
Randy Eckenrode | * Does it do the right thing if I add pkgsCross.<target>.<package> to buildInputs? | 21:14:21 |
Artturin | Yeah since buildInputs is __spliced.hostTarget | 21:15:37 |
dramforever | rosssmyth: do you still have some exact log of pkgsCross.mingwW64.ripgrep failing? | 21:15:42 |
dramforever | instead of just > Failure | 21:16:22 |
Artturin | * Yeah since buildInputs is __spliced.hostTarget
Any further issues caused by dependencies for the wrong system in the dep attributes aren't splicing issues
| 21:16:42 |
dramforever | my "favorite" part is that this is also clearly not broken for what we've seen above where this started | 21:20:28 |
dramforever | wait nevermind that's just crane | 21:21:07 |
@rosssmyth:matrix.org | I don't think so :(
Last time I looked into this was a while ago. | 21:21:54 |
@rosssmyth:matrix.org | I'll post on that issue to see if other people can supply it | 21:22:05 |
@rosssmyth:matrix.org | If it is still an issue | 21:22:11 |
dramforever | i can't reproduce this on the base of https://github.com/NixOS/nixpkgs/pull/457066 either | 21:23:06 |
@rosssmyth:matrix.org | Yeah I can't either | 21:23:51 |