Re: Add a Nix flake - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add a Nix flake
Date
Msg-id 668927.1787723101@sss.pgh.pa.us
Whole thread
List pgsql-hackers
"Greg Burd" <greg@burd.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



Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: tablecmds: fix bug where index rebuild loses replica identity on partitions
Next
From: vignesh C
Date:
Subject: Re: Assertion failure in GetSubscriptionRelations() with concurrent DROP TABLE