!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

210 Members
66 Servers

Load older messages


SenderMessageTime
12 Aug 2025
@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
@emilazy:matrix.orgemily which should be [ "build" "host" ], but isn't because some stuff breaks 22:40:15
@emilazy:matrix.orgemilythough maybe it's about time to just throw that in a cycle and deal with the fallout22:41:53
@emilazy:matrix.orgemily I forget what Artturin said last time I was talking about a good ordering for these things 22:42:06
@emilazy:matrix.orgemilynot sure if https://github.com/NixOS/nixpkgs/pull/181724 ended up resolved22:43:07
@emilazy:matrix.orgemilyok, yeah, https://github.com/NixOS/nixpkgs/issues/17880222:52:39
@emilazy:matrix.orgemilyI think adding wrapped prefixed compilers was the first sensible step22:52:45
@emilazy:matrix.orgemily not sure if --host without --build would trigger such problems though 22:52:53
@emilazy:matrix.orgemilyoh, it looks like we no longer re-export the prefixed ones from the wrapped packages22:59:19
@emilazy:matrix.orgemilyso maybe that's okay.22:59:21
20 Aug 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 (4094@GPN23) to jopejoe1.18:50:45
21 Aug 2025
@creepinson:matrix.orgTheo Paris joined the room.22:11:07
23 Aug 2025
@Ericson2314:matrix.orgJohn Ericson emily: https://clang.llvm.org/docs/Multilib.html oh ok, it looks like this YAML is the proper way to make a multi-target wrapped compiler 00:36:49
@emilazy:matrix.orgemilythat's for multilib variants of a single architecture? which is quite different00:37:35
@emilazy:matrix.orgemilythe configuration files already support multi-target00:38:02
@Ericson2314:matrix.orgJohn Ericson emily: do the cfg file support -m flags etc afffecting which set of lookup paths it uses? 00:38:46
@emilazy:matrix.orgemilythe config files support arbitrary flags00:38:58
@emilazy:matrix.orgemily(that's all they support)00:39:00
@Ericson2314:matrix.orgJohn Ericson emily: err so as I interpret this is a way to do something like "if the user specifies --target=..... then inject -L ....." 00:59:53
@Ericson2314:matrix.orgJohn Ericsonnot just a static set of flags01:00:00
@emilazy:matrix.orgemilybut config files already offer that? they key on the target01:00:11
@Ericson2314:matrix.orgJohn Ericsonthe the conditions are more semantic than syntactic01:00:11

Show newer messages


Back to Room ListRoom Version: 9