| 15 May 2025 |
K900 | Yeah I'm going to guess that it's somehow an Android Studio problem | 15:53:17 |
K900 | I'm not sure how | 15:53:25 |
@jh-devv:matrix.org | Using "rust-android-gradle" or "cargo-ndk-android' | 15:53:26 |
K900 | But it very likely is | 15:53:28 |
@jh-devv:matrix.org | In reply to @k900:0upti.me But it very likely is Actually | 15:54:25 |
@jh-devv:matrix.org | I can seem to repro this in a normal zsh shell too | 15:54:35 |
@jh-devv:matrix.org | It basically complains that the targets are build with the wrong version of rust (???) | 15:55:30 |
@jh-devv:matrix.org | Like | 15:55:48 |
@jh-devv:matrix.org | compiled by <insert nix store path> and not <insert current rust version> | 15:56:16 |
K900 | What exact command are you running in your shell? | 15:56:40 |
@jh-devv:matrix.org | In reply to @k900:0upti.me What exact command are you running in your shell? let me try if I can find it | 15:57:56 |
@jh-devv:matrix.org | I tried it yesterday | 15:58:00 |
@jh-devv:matrix.org | In reply to @k900:0upti.me What exact command are you running in your shell? I think the issue with Android studio was that .direnv was not loaded at the right time | 16:28:51 |
@jh-devv:matrix.org | Did
android-studio = pkgs.android-studio.overrideAttrs (oldAttrs: {
propagatedBuildInputs = [ toolchain ];
meta.license = with lib.licenses; [
asl20 # any free license
];
});
| 16:29:09 |
@jh-devv:matrix.org | Now works right a charm | 16:29:14 |
| Winter joined the room. | 17:53:30 |
Winter | doing the 1.87.0 bump | 17:53:42 |
Winter | would love to get https://github.com/NixOS/nixpkgs/pull/401281 in the same cycle as we can drop the patch | 17:54:13 |
Winter | We've been missing some docs deps on at least macOS for several releases, but I don't feel like building more than two rustcs today so I'm going to leave that for a separate PR. | 18:25:34 |
Winter | given nobody complained I don't think it's urgent | 18:25:55 |
Winter | This rustc builds a lot quicker than 1.86.0 o.O | 18:28:03 |
Winter | wonder what kind of dark magic they did | 18:28:12 |
Winter | like, a whole 20 minutes faster | 18:28:41 |
emily | that doesn't sound right | 19:18:16 |
Winter | bump is imminent | 19:36:45 |
Winter | * bump is imminent fwiw | 19:36:52 |
Winter | https://github.com/NixOS/nixpkgs/pull/407444 -- finally took the chance to drop libiconv from darwin's explicit closure | 19:46:00 |
staberinde | I'm fairly sure this is a stupid question, but I can't find anything in the documentation that directly answers this. What's the easiest way to use an updated set of crateOverrides with buildRustPackage? | 20:01:43 |
Alyssa Ross | buildRustPackage doesn't use crateOverrides | 20:02:05 |
Alyssa Ross | they're for buildRustCrate | 20:02:38 |