!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

251 Members
77 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Nov 2024
@emilazy:matrix.orgemily how would you prefer to handle things like gobject-introspection and anything else that requires running the produced binary to end up with a correct build of the resulting package? 15:44:39
@emilazy:matrix.orgemilyopened https://github.com/NixOS/nixpkgs/pull/357309, will test it now15:45:02
@sternenseemann:systemli.orgsterniWell I don't deny that it's sometimes necessary, but we shouldn't write emulator-first code since emulation is a crutch for packages that can't be cross-compiled properly.15:55:38
@emilazy:matrix.orgemilyit's increasingly common to do things like have binaries generate their own shell completion stuff15:56:24
@emilazy:matrix.orgemilyfor better or worse15:56:27
@emilazy:matrix.orgemilyideally those would be split out into separate derivations or something and we'd integrate emulators at the Nix level though15:56:38
@emilazy:matrix.orgemilybut that's a tall order when we haven't even separated out tests :/15:56:46
@sternenseemann:systemli.orgsterni for that I think you can just depend on yourself from buildPackages 15:56:49
@sternenseemann:systemli.orgsterniif your completions are target specific you deserve it15:57:11
@emilazy:matrix.orgemilydoesn't really work for tests though (but admittedly emulation is complicated there too)15:57:39
@emilazy:matrix.orgemily I don't love the buildPackages solution since it basically doubles all your builds 15:58:00
@sternenseemann:systemli.orgsterniyou build that anyways…15:58:59
@emilazy:matrix.orgemily what do you mean? jujutsu certainly doesn't depend on buildPackages.jujutsu 16:01:02
@emilazy:matrix.orgemilythough if you mean in the sense that Hydra builds most things for common platforms then sure16:01:10
@emilazy:matrix.orgemily looks like the native emulator has been there since 9c8fd412248ad907eee7547b19bf3f7583d2c411, when the function was added in the first place 16:06:02
@emilazy:matrix.orgemily anyway, hopefully everyone should be happy with the shell script, since it doesn't touch execline, doesn't add a C file, and doesn't add any non-trivial builds 16:07:11
@emilazy:matrix.orgemily still seems like the man pages ought to be split out of execline for the unrelated reasons that were brought up, but it's not my package 16:07:31
@sternenseemann:systemli.orgsterniyeah the execline situation is well…17:50:18
@sternenseemann:systemli.orgsternione maintainer more or less unilaterally integrated them, but I guess no one felt strongly enough to start a row about it so far17:50:53
@emilazy:matrix.orgemily my patches are there if anyone wants them, but I guess they no longer have stdenv-related motivation 😅 17:53:50
@sternenseemann:systemli.orgsterni
In reply to @emilazy:matrix.org
though if you mean in the sense that Hydra builds most things for common platforms then sure
yeah…
18:00:39
@sternenseemann:systemli.orgsternisorry if I've been difficult :)18:01:14

Show newer messages


Back to Room ListRoom Version: 9