Re: Add a Nix flake

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Burd" <greg(at)burd(dot)me>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add a Nix flake
Date: 2026-08-26 05:45:01
Message-ID: 668927.1787723101@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Greg Burd" <greg(at)burd(dot)me> writes:
> On Tue Aug 25, 2026 at 6:37 AM CDT, Andrew Dunstan wrote:
>> Well, "growing" could cover a multitude of possibilities. It could mean
>> there was one and now there are two. [...] But if you want to say that
>> there is a significant number of people actually contributing here who
>> use it that would be all the better for some evidence.

> Fair, and I shouldn't have leaned on an unquantified "growing." Let me
> separate what I can back up from what I can't.
> ...
> What I can't do is hand you a survey. I don't have a count of contributors
> who develop on Nix, and I'd rather admit that than dress up a guess. If the
> bar for this is demonstrated contributor demand, that's a reasonable bar and
> I'm happy to let the thread be the evidence, if it's just me and Tristan, so
> be it; this can wait.

I don't want to block this if there's actually a reasonable amount
of demand. Let's wait a bit to see if other requestors show up.

If we do go forward, I think the flake.nix file needs a header comment
covering at least these points:

1. An explanation of what it is/does, aimed at people who never heard
of Nix. Doesn't need to be long. (Some of our other root files
could use some self-justification too :-()

2. A suggestion to add thus-and-such personal ~/.gitexclude patterns
if you want to use Nix.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2026-08-26 05:53:43 Re: Assertion failure in GetSubscriptionRelations() with concurrent DROP TABLE
Previous Message Chao Li 2026-08-26 05:34:35 Re: tablecmds: fix bug where index rebuild loses replica identity on partitions