!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

592 Members
Rust132 Servers

Load older messages


SenderMessageTime
13 Jul 2025
@k900:0upti.meK900The problem is that you have native deps07:17:12
@k900:0upti.meK900Presumably07:17:13
@k900:0upti.meK900As in, deps that need to be built for Windows that are not Rust07:17:25
@andrew15_5:matrix.orgAndrewFor now, I only have dependencies on weview207:17:45
@andrew15_5:matrix.orgAndrewMaybe openssl too, but I don't know if/how msvc uses it07:18:15
@andrew15_5:matrix.orgAndrewI do remember that several programs including mine depend on redistributable C++ runtime stuff.07:19:15
@andrew15_5:matrix.orgAndrewBut that's it.07:19:21
@andrew15_5:matrix.orgAndrew
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
@andrew15_5:matrix.orgAndrewTheoretically this should work for my app.07:21:24
@k900:0upti.meK900Why do you need wine?07:21:36
@andrew15_5:matrix.orgAndrewOh, I guess it's only for native tests...07:24:31
@andrew15_5:matrix.orgAndrewI guess I should try creating a separate image without it. should be a hell of a lot smaller.07:26:43
@hatimthayyil:matrix.orgHatim joined the room.09:31:37
@audiotrope:matrix.org@audiotrope:matrix.org left the room.15:13:33
@timschumi:matrix.orgtimschumi joined the room.18:28:49
@marie:marie.cologneMarie changed their profile picture.20:11:54
@emilazy:matrix.orgemily

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
@emilazy:matrix.orgemilyit seems highly questionable21:24:03
@emilazy:matrix.orgemily that's PKG_CONFIG_PATH for HOST, not the path to the executable 21:24:10
@emilazy:matrix.orgemily but 0ac955ad63e2f94c64de584551493ceb33b00b45 claims it fixed something somehow 21:24:31
14 Jul 2025
@glepage:matrix.orgGaƩ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
@qyliss:fairydust.spaceAlyssa RossHydra shows broken between 36d055248bd7758309ead91562b2cc44b08a257f and bff650412cc35886110bed88287f6fa6ccb65cf610:18:36
@rosssmyth:matrix.orgrosssmythIt uses the MSVC libraries, and it uses lld as the linker. Link.exe sucks even on native Windows anyways. 14:50:16
@rosssmyth:matrix.orgrosssmythLooks like it probably is14:56:18
@rosssmyth:matrix.orgrosssmythOk, 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.nix17:56:36
15 Jul 2025
@tomasajt:matrix.orgToma

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
@tomasajt:matrix.orgToma *

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
@emilazy:matrix.orgemilyI'm ambivalent about warning vs. error, but I think we should have some notice rather than just an unknown argument error13:29:19
@emilazy:matrix.orgemilywarning and then hard removal in 26.05 seems okay13:29:36
@emilazy:matrix.orgemily* warning in 25.11 and then hard removal in 26.05 seems okay13:29:39

Show newer messages


Back to Room ListRoom Version: 6