!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

641 Members
Rust147 Servers

Load older messages


SenderMessageTime
2 Aug 2025
@aloisw:julia0815.de@aloisw:julia0815.de I noticed that libimagequant != pkgsStatic.buildPackages.libimagequant, but am not sure if this is intentional. 09:14:53
@emilazy:matrix.orgemilyassume Rust cross / setEnv stuff is screwy by default09:25:35
@emilazy:matrix.orgemilyhas never steered me wrong09:25:45
@aloisw:julia0815.de@aloisw:julia0815.de Screwy in what way though, is the question here. FWIW putting buildPackages restores equality but I'm not sure if this is correct here. 09:28:26
@emilazy:matrix.orgemilyI believe it is because the corresponding use in the normal hooks will be one level up09:28:57
@aloisw:julia0815.de@aloisw:julia0815.deThank you for validating my conjecture then, I will prepare a treewide fix then.09:32:47
@emilazy:matrix.orgemilya hook may be in order if you have the energy09:34:32
@aloisw:julia0815.de@aloisw:julia0815.deNot sure if that's worth it for the 6 packages that do it?09:39:42
@emilazy:matrix.orgemily6 opportunities to mess up cross!09:46:27
@aloisw:julia0815.de@aloisw:julia0815.de I'm wondering if a cargo-c build/install hook would be worth it more since that's what (literally) all of the usages boil down to. 09:48:43
@emilazy:matrix.orgemilythat's what I meant yeah09:53:46
@emilazy:matrix.orgemilyit's been wanted before09:53:54
@emilazy:matrix.orgemilyiirc someone tried to put it in the main hook and Alyssa said no09:54:03
@aloisw:julia0815.de@aloisw:julia0815.de I missed the one usage in the cargo-tauri hook, which I guess is going to be REALLY annoying to fix because it breaks with even weirder errors. 09:55:37
@aloisw:julia0815.de@aloisw:julia0815.de This is targetPlatform abuse right https://github.com/NixOS/nixpkgs/blob/37a4fc0bb6425e8f0c577604bdcdb8ddb2873fa7/pkgs/development/libraries/gobject-introspection/default.nix#L163 ? 09:58:36
@aloisw:julia0815.de@aloisw:julia0815.de error: Package ‘gobject-introspection-1.84.0’ in /home/aloisw/Verschiedenes/nixpkgs/pkgs/development/libraries/gobject-introspection/default.nix:181 is not available on the requested hostPlatform hm still errors. 09:59:49
@aloisw:julia0815.de@aloisw:julia0815.deAh that's the Python issue. At least not a third one.10:16:45
@emilazy:matrix.orgemily
In reply to @aloisw:julia0815.de
This is targetPlatform abuse right https://github.com/NixOS/nixpkgs/blob/37a4fc0bb6425e8f0c577604bdcdb8ddb2873fa7/pkgs/development/libraries/gobject-introspection/default.nix#L163 ?
it may not be. gobject-introspection is a cursed compiler sorta
12:03:14
@emilazy:matrix.orgemilyI know it's very painful for cross12:03:23
@emilazy:matrix.orgemilyfeels beyond my pay grade to say whether it's correct or not12:03:37
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event12:05:22
@aloisw:julia0815.de@aloisw:julia0815.de buildPackages.gobject-introspection in a x86_64-linux -> i686-linux cross build says that it's x86_64, so targetPlatform abuse it is. 12:33:26
@aloisw:julia0815.de@aloisw:julia0815.deYuck, that wrapper though…12:51:09
@aloisw:julia0815.de@aloisw:julia0815.deI think I'm not touching the tauri thing.12:51:35
@aloisw:julia0815.de@aloisw:julia0815.de I think it's correct anyway after all due to being in nativeBuildInputs. 12:57:10
@olisnot:matrix.orgOlisnot joined the room.13:57:22
@emilazy:matrix.orgemilyoh I missed that the thing was in the checks.13:58:07
@emilazy:matrix.orgemilybut those don't run for cross anyway13:58:11
@olisnot:matrix.orgOlisnot set a profile picture.13:59:41
@aloisw:julia0815.de@aloisw:julia0815.de It will still break eval in things like pkgsStatic.buildPackages. 13:59:54

Show newer messages


Back to Room ListRoom Version: 6