!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
1 Aug 2025
@dramforever:matrix.orgdramforeverlike it has different behavior depending on if your current distro is rpm or deb or something12:51:33
@emilazy:matrix.orgemilyyeah and there are arch-specific scripts that all do more or less the same thing but in subtly different annoying ways12:52:18
@emilazy:matrix.orgemily have you seen our preInstall 12:52:34
@emilazy:matrix.orgemilyI am deleting all of that12:52:43
@qyliss:fairydust.spaceAlyssa Ross I tried to refactor it a long time ago to always use KBUILD_IMAGE but it got reverted because it broke MIPS or POWER or something 12:53:13
@emilazy:matrix.orgemily my WIP just uses cp 12:53:31
@emilazy:matrix.orgemily because if you trace down all the installation scripts all they do is cp $(KBUILD_IMAGE) 12:53:42
@emilazy:matrix.orgemily like I don't even make install, at all 12:53:52
@emilazy:matrix.orgemilydo you have a link to that though12:54:31
@emilazy:matrix.orgemilyI remember seeing some good-looking kernel PR you did that got amjoseph'd12:54:44
@emilazy:matrix.orgemilymaybe same one12:54:48
@brisingr05:matrix.org@brisingr05:matrix.org joined the room.18:05:44
2 Aug 2025
@saiko:knifepoint.net@saiko:knifepoint.net changed their profile picture.00:27:55
@aloisw:julia0815.de@aloisw:julia0815.de Are lines like this https://github.com/NixOS/nixpkgs/blob/59dd2e527d4ccc18fd9f8f773ccd0f2b4f43b980/pkgs/by-name/li/libimagequant/package.nix#L40 correct or should it be from buildPackages? 09:14:21
@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

Show newer messages


Back to Room ListRoom Version: 6