| 28 Oct 2025 |
hexa | the tl;dr is … just do it quietly? | 17:40:56 |
hexa | or wait until we have a nixpkgs core team that can make that call? | 17:41:25 |
Vladimír Čunát | runCommandNoCC will surely have some usage outside nixpkgs, too. | 17:41:50 |
hexa | it was about e.g. pkgconfig = pkg-config back then | 17:42:07 |
emily | it wasn't very quiet IMO… it's only ones that were already in 25.05 | 17:45:19 |
emily | there was discussion about whether to go through a warning cycle for the ones without them or throw immediately | 17:45:41 |
emily | we could still backtrack and attach warnings to those ones | 17:45:56 |
Wolfgang Walther | Yeah, I'd say we could do that on a case-by-case basis, if there is reason for a specific case. | 17:46:27 |
Wolfgang Walther | Was the argument that this should actually persist forever? If so, we'll just need to mark the alias as such instead. | 17:46:53 |
emily | in practice unstable changes in ways that produce throws all the time I think, in this case it's at least a way that you can handle downstream without breaking compat with any supported release | 17:46:55 |
emily | which AIUI has been the sticking point historically | 17:47:01 |
emily | (anyway, this is just trying to prep for structured aliases which will automatically do silent → warning → throw → removed without all the manual work and eval issues wrangling this stuff manually causes right now :/ ) | 17:47:30 |
hexa | it's not even in 25.05, it was probably removed earlier than that. no everything should be subject to a deprecation cycle IMO. | 17:47:39 |
emily | to be clear, no Nixpkgs core decision on this | 17:47:50 |
emily | anyway, putting a warning on runCommandNoCC seems reasonable enough to me | 17:48:21 |
hexa | oh, it was utillinux 😄 | 17:48:47 |
hexa | https://github.com/NixOS/nixpkgs/pull/192870 | 17:48:59 |
emily | oh, gah | 17:49:18 |
hexa | due to the node2nix abandonware | 17:49:20 |
emily | I specifically dropped that one because I saw that node2nix was "handling it" since 2020 | 17:49:29 |
emily | and forgot this particular nuance of how it "handles it" | 17:49:34 |
emily | in practice nodePackages is almost gone and IIRC node2nix doesn't even work with new Node versions anyway? so meh… | 17:49:55 |
hexa | so, thanks for pruning aliases | 17:51:14 |
dish [Fox/It/She] | wouldn't say almost gone at this point, still well over 100 packages in the set and the file is still 2+ MB >.> | 17:52:42 |
dish [Fox/It/She] | sadly | 17:52:49 |
emily | we could also attach warnings to the top-level system/hostPlatform/buildPlatform/targetPlatform which I think Artturin wanted to kill off | 17:54:26 |
emily | (they were added to the aliases file many years ago) | 17:54:32 |
emily | but I opted for being conservative about that since it's post-freeze | 17:54:39 |
Artturin | Oh yeah we still have those aliases, yeah we should make them warns | 17:55:58 |
emily | they're still used in pkgs/test even 🙃 | 17:56:13 |