!UNVBThoJtlIiVwiDjU:nixos.org

Staging

367 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.11 | Review Reports: https://malob.github.io/nix-review-tools-reports/116 Servers

Load older messages


SenderMessageTime
19 Apr 2026
@vcunat:matrix.orgVladimír ČunátI believe there is, based on a quick search.08:46:13
@qyliss:fairydust.spaceAlyssa RossI've been trying to find it…08:46:22
@qyliss:fairydust.spaceAlyssa Rossautoconf has internal knowledge of which flags different compilers use to set the C standard, but does not expose a public API to reuse this08:46:59
@qyliss:fairydust.spaceAlyssa Rossso it would have to be hardcoded for certain compilers08:47:07
@qyliss:fairydust.spaceAlyssa RossAFAIK08:47:26
@qyliss:fairydust.spaceAlyssa Ross * 08:47:28
@vcunat:matrix.orgVladimír Čunát I saw AC_PROG_CC_C99 but apparently it's deprecated? 08:48:14
@qyliss:fairydust.spaceAlyssa Rossyeah08:48:18
@qyliss:fairydust.spaceAlyssa Ross and the replacement will always use C23 08:48:23
@qyliss:fairydust.spaceAlyssa Rossif available08:48:25
@vcunat:matrix.orgVladimír ČunátI don't actively use autotools, as it's not very pleasant.08:48:44
@qyliss:fairydust.spaceAlyssa Rossso I think, as much as it pains me, I cannot direct people to fix this upstream, because there's no portable way to (that works with e.g. MSVC as well, which upstreams might care about)08:48:58
@vcunat:matrix.orgVladimír Čunát* I don't actively use autotools, as it's not very pleasant. So I don't know it from that side.08:49:01
@qyliss:fairydust.spaceAlyssa Rosswhat a horrible change. I was sympathetic when I thought it was just changing the default…08:51:57
@qyliss:fairydust.spaceAlyssa Ross so, vcunat, do you want me to open an issue with instructions asking for help from darwin-maintainers? 09:01:56
@vcunat:matrix.orgVladimír ČunátSure, I'd like these resolved somehow, at least the more important packages.09:02:38
@vcunat:matrix.orgVladimír Čunát I don't know what's the best way. Sometimes passing -std=foo might work, but I often see that fed into C++ case as well which fails. Sometimes I just added autoconf269 into inputs. 09:03:37
@qyliss:fairydust.spaceAlyssa Ross Passing -std how? 09:04:01
@qyliss:fairydust.spaceAlyssa Ross via NIX_CFLAGS_COMPILE? 09:04:07
@vcunat:matrix.orgVladimír ČunátThat's what I tried, but it usually has that problem.09:04:33
@qyliss:fairydust.spaceAlyssa RossLet me see…09:04:42
@vcunat:matrix.orgVladimír ČunátI mean I tried I think with 8ab9645b5af and 6e1fd320788.09:05:27
@qyliss:fairydust.spaceAlyssa RossHmm yes I've reproduced09:10:09
@qyliss:fairydust.spaceAlyssa Ross I can fix db for Linux LLVM with "CFLAGS=-std=gnu17" "CXXFLAGS=" in configureFlags. 09:16:17
@qyliss:fairydust.spaceAlyssa Ross If you don't pass CXXFLAGS it defaults it to CFLAGS. 09:16:31
@qyliss:fairydust.spaceAlyssa RossSo I think I'll recommend people just always do that?09:23:47
@qyliss:fairydust.spaceAlyssa RossOr, well, I'll tell them to always do CFLAGS in configureFlags and CXXFLAGS as well if necessary.09:24:13
@qyliss:fairydust.spaceAlyssa Rosshttps://github.com/NixOS/nixpkgs/issues/51132909:34:10
@qyliss:fairydust.spaceAlyssa Ross92 people pinged09:34:27
@qyliss:fairydust.spaceAlyssa Rossfeel free to edit09:35:16

Show newer messages


Back to Room ListRoom Version: 6