13 Jul 2025 |
K900 | The problem is that you have native deps | 07:17:12 |
K900 | Presumably | 07:17:13 |
K900 | As in, deps that need to be built for Windows that are not Rust | 07:17:25 |
Andrew | For now, I only have dependencies on weview2 | 07:17:45 |
Andrew | Maybe openssl too, but I don't know if/how msvc uses it | 07:18:15 |
Andrew | I do remember that several programs including mine depend on redistributable C++ runtime stuff. | 07:19:15 |
Andrew | But that's it. | 07:19:21 |
Andrew | In reply to @k900:0upti.me As in, deps that need to be built for Windows that are not Rust Oh, I though pure rustc. Okay. But why no wine? Is it not needed? | 07:20:59 |
Andrew | Theoretically this should work for my app. | 07:21:24 |
K900 | Why do you need wine? | 07:21:36 |
Andrew | Oh, I guess it's only for native tests... | 07:24:31 |
Andrew | I guess I should try creating a separate image without it. should be a hell of a lot smaller. | 07:26:43 |
| Hatim joined the room. | 09:31:37 |
| @audiotrope:matrix.org left the room. | 15:13:33 |
| timschumi joined the room. | 18:28:49 |
| Marie changed their profile picture. | 20:11:54 |
emily | we have this in cargo.nix :
//
lib.optionalAttrs (stdenv.buildPlatform.rust.rustcTarget != stdenv.hostPlatform.rust.rustcTarget)
{
HOST_PKG_CONFIG_PATH = "${pkgsBuildBuild.pkg-config}/bin/pkg-config";
}
| 21:24:00 |
emily | it seems highly questionable | 21:24:03 |
emily | that's PKG_CONFIG_PATH for HOST , not the path to the executable | 21:24:10 |
emily | but 0ac955ad63e2f94c64de584551493ceb33b00b45 claims it fixed something somehow | 21:24:31 |
14 Jul 2025 |
GaƩtan Lepage | Looks like rustfmt is broken on x86_64-darwin on nixos-25.05 :
https://buildbot.nix-community.org/#/builders/2847/builds/5266/steps/1/logs/stdio (from Nixvim CI) | 00:45:35 |
Alyssa Ross | Hydra shows broken between 36d055248bd7758309ead91562b2cc44b08a257f and bff650412cc35886110bed88287f6fa6ccb65cf6 | 10:18:36 |
rosssmyth | It uses the MSVC libraries, and it uses lld as the linker. Link.exe sucks even on native Windows anyways. | 14:50:16 |
rosssmyth | Looks like it probably is | 14:56:18 |
rosssmyth | Ok, I updated it to use xwin. It is less janky, and faster to download. I'll have to more experimentation later.
https://github.com/RossSmyth/nur/blob/main/msvc-rust/default.nix | 17:56:36 |
15 Jul 2025 |
Toma | With staging-next done, we can do https://github.com/NixOS/nixpkgs/pull/421558 now
This is just the removal of the usages, not the removal of the logic.
For the logic, should we make setting useFetchCargoVendor a warning/error in 25.11? We could just remove the logic completely, but then people might not remove it from their out-of-tree derivations...
| 13:21:46 |
Toma | * With staging-next done, we can do https://github.com/NixOS/nixpkgs/pull/421558 now
This is just the removal of the usages, not the removal of the logic.
For the logic, should we make setting useFetchCargoVendor a warning/error in 25.11? We could just remove the logic completely, but then people might not remove it from their out-of-tree derivations... Or, since we didn't have too long of a period where useFetchCargoVendor was forced to be set to true manually, we should just remove it without warnings.
| 13:24:08 |
emily | I'm ambivalent about warning vs. error, but I think we should have some notice rather than just an unknown argument error | 13:29:19 |
emily | warning and then hard removal in 26.05 seems okay | 13:29:36 |
emily | * warning in 25.11 and then hard removal in 26.05 seems okay | 13:29:39 |