!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

210 Members
66 Servers

Load older messages


SenderMessageTime
3 Aug 2025
@emilazy:matrix.orgemilynope, that's nonsense12:25:32
@emilazy:matrix.orgemilybut the comment was already there12:25:46
@emilazy:matrix.orgemilyit is just being moved around with formatting churn12:26:04
@emilazy:matrix.orgemily in this case the formatting churn goes around conventions, meta is generally not alphabetically-ordered 12:26:14
@emilazy:matrix.orgemily and changelog before description and homepage is just weird 12:26:37
@emilazy:matrix.orgemily nor do build inputs go after postPatch (there is no strict convention for all of this, but if you are going to do this kind of churn, explicitly making things comply less with the guidelines in https://github.com/jtojnar/nixpkgs-hammering/blob/b0817c8269798a830bc42f58a01c7543e7c5268a/explanations/attribute-ordering.md is hard to justify) 12:27:32
@emilazy:matrix.orgemily so "bencode: sort" should be rejected, but checking and fixing the vintage broken comment is not a blocker 12:28:00
@emilazy:matrix.orgemily(I can comment as much if you want, but I've found that contributor a little strange to interact with so if you are already reviewing it probably makes sense for you to handle it)12:29:11
4 Aug 2025
@reckenrode:matrix.orgRandy Eckenrode
In reply to @emilazy:matrix.org
nor do build inputs go after postPatch (there is no strict convention for all of this, but if you are going to do this kind of churn, explicitly making things comply less with the guidelines in https://github.com/jtojnar/nixpkgs-hammering/blob/b0817c8269798a830bc42f58a01c7543e7c5268a/explanations/attribute-ordering.md is hard to justify)
Is this documented anywhere as the convention to use? I’ve been grouping by phases (so build phase stuff together, etc) ….
23:24:34
@emilazy:matrix.orgemilyI don't think there's any real consensus, but I think the nixpkgs-hammering ordering is something close to what's most common (i.e. probably many packages violate it in some way or another but if you were going to write down the most consistent set of rules you could based on patterns of relative ordering it would be close to that)23:25:41
@emilazy:matrix.orgemily I think some things are pretty strong consensus (passthru and meta last, pname, version, src, and usually outputs and patches before other stuff) 23:26:31
@emilazy:matrix.orgemilyand everything in between is a little fuzzy23:26:35
5 Aug 2025
@axelkar:matrix.orgAxel Karjalainen joined the room.17:39:37
@axelkar:matrix.orgAxel Karjalainen

Was there any reason for libcCrossChooser to use targetPackages? See also my comment here: https://github.com/NixOS/nixpkgs/pull/409851#discussion_r2254887700

Is this the right Matrix room for this?

17:51:17
@vcunat:matrix.orgvcunat #cross-compiling:nixos.org also exists, but I don't know what's the best place. 17:54:58
6 Aug 2025
@vidariondr:matrix.orgvidariondr set a profile picture.18:31:02
8 Aug 2025
@kity:kity.wtfproblems changed their profile picture.01:54:56
@0x4a6f:nixos.dev0x4A6F joined the room.06:32:02
@limwa:matrix.orgAndré Lima joined the room.18:41:24
12 Aug 2025
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)If you were trying to add a stdenv for a new compiler which doesn’t support the same arguments as GCC and Clang, is there an easy way to filter out unsupported arguments? As an example, suppose -frandom-seed wasn’t supported (which is used by https://github.com/NixOS/nixpkgs/blob/0300b04b2e48edec1f9934cda0fb6d4a2a2c1fbd/pkgs/stdenv/generic/default.nix#L83) — what can be done?20:51:30
@emilazy:matrix.orgemilyI think we just conditionalize those as appropriate, but for something out-of-tree or where it would be invasive, you could drop them in a wrapper I suppose20:52:27
@emilazy:matrix.orgemily(of course ideally it would support the flags)20:52:36
@connorbaker:matrix.orgconnor (burnt/out) (UTC-8)Any references for prior art for how to do that, or recommendations for where such a wrapper would go?20:54:34
@emilazy:matrix.orgemily are you using cc-wrapper already? 20:58:25
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) there is already flags being filtered, e.g. -march flag will be dropped 21:01:45
17 Aug 2025
@bennofs:matrix.orgBenno Fünfstück joined the room.17:51:29
19 Aug 2025
@emilazy:matrix.orgemily does anyone know if configurePlatforms = [ "host" ]; by default would break as much stuff as [ "build" "host" ] 21:33:56
@alex:tunstall.xyzAlex
In reply to @emilazy:matrix.org
does anyone know if configurePlatforms = [ "host" ]; by default would break as much stuff as [ "build" "host" ]

Wouldn't this break cross for most packages?

Looking at the autoconf documentation, it seems like it won't try to guess the build platform if you set --host.

22:39:43
@emilazy:matrix.orgemily we pass [ "build" "host" ] when doing cross 22:40:01
@emilazy:matrix.orgemilyI'm just talking about the default for the native case22:40:05

Show newer messages


Back to Room ListRoom Version: 9