!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

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


SenderMessageTime
21 Apr 2024
@terru:raccoon.collegeterru Question about environment variables which nixpkgs reads to configure itself: these all have the prefix NIXPKGS_ or NIXOS_, except NIX_ABORT_ON_WARN. I find this very confusing, as it suggests that this variable is read by nix itself, which it is not. It was introduced in #140763, apparently without consideration of this inconsistency. Is there any good reason why it should not be called NIXPKGS_ABORT_ON_WARN instead, and if not, what is the process to change it? rename it, and for a release cycle still also accept the old variant, but produce a trace if it is set? 17:22:53
@qyriad:katesiria.orgQyriad See also: NIX_DEBUG 17:29:31
@infinisil:matrix.orginfinisil
In reply to @terru:raccoon.college
Question about environment variables which nixpkgs reads to configure itself: these all have the prefix NIXPKGS_ or NIXOS_, except NIX_ABORT_ON_WARN. I find this very confusing, as it suggests that this variable is read by nix itself, which it is not. It was introduced in #140763, apparently without consideration of this inconsistency. Is there any good reason why it should not be called NIXPKGS_ABORT_ON_WARN instead, and if not, what is the process to change it? rename it, and for a release cycle still also accept the old variant, but produce a trace if it is set?
Yeah that sounds like a good plan to me. I'd make the deprecation period longer though, it doesn't cost much
20:04:18
22 Apr 2024
@willbush:matrix.orgwillbush20240421_21h04m39s_grim.png
Download 20240421_21h04m39s_grim.png
02:05:07
@willbush:matrix.orgwillbushAny idea why 3 of the by-name checks would trigger at the same time for https://github.com/NixOS/nixpkgs/pull/305879?02:05:21
@willbush:matrix.orgwillbushMaybe could be fixed by https://docs.github.com/en/actions/using-jobs/using-concurrency02:13:34
@willbush:matrix.orgwillbush

Maybe?:

concurrency:
  group: ${{ github.ref }}
  cancel-in-progress: true
02:15:32
@willbush:matrix.orgwillbushIt's sort of a micro-optimization though in the shadow of-borg02:17:34
@willbush:matrix.orgwillbush * It's sort of a micro-optimization though in the shadow ofborg02:17:46
@willbush:matrix.orgwillbush changed their profile picture.07:10:21
@terru:raccoon.collegeterruit does have the (very slight) cost of "someone will have to remember to remove the extra code which implements the warning" ;) in any case, I've opened a PR for this now: https://github.com/NixOS/nixpkgs/pull/30602615:21:33
@infinisil:matrix.orginfinisil willbush: Yeah sounds like you're right on. Feel free to PR if you want! 15:56:39
@infinisil:matrix.orginfinisil I'm in the weekly office hour: https://meet.jit.si/nixpkgs-architecture (cc Philip Taron (UTC-8), willbush, Dominic Mills) 18:00:34
@philiptaron:matrix.orgPhilip Taron (UTC-8)I'm skipping today. Gotta do work for work.18:01:10

Show newer messages


Back to Room ListRoom Version: 9