pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <daniel@yesql.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Burd <greg@burd.me>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Add a Nix flake
Date: Wed, 26 Aug 2026 10:51:18 +0200
Message-ID: <8AFB8564-CD9A-4FE3-A8A4-36F615B04C03@yesql.se> (raw)
In-Reply-To: <668927.1787723101@sss.pgh.pa.us>
References: <a0979d2a-4670-44fe-864f-c0425edbd4f1@app.fastmail.com>
	<58ed7628-7527-450d-8acc-b14a322e9375@dunslane.net>
	<618056.1787663948@sss.pgh.pa.us>
	<b6156ff0-d924-4a54-b4ef-7857da2dbc6a@app.fastmail.com>
	<668927.1787723101@sss.pgh.pa.us>

> On 26 Aug 2026, at 07:45, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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.

I would add a third: A note on how the file is intended to be kept up to date
for non-Nix users.  If I add a dependency to autoconf/meson, what am I expected
to do to make sure this file doesn't become stale.  (I obviously have no idea
what that something might be, maybe it's just "email -hackers"?) If this
information is better maintained as a Wiki page then a link would suffice of
course.

--
Daniel Gustafsson







view thread (14+ messages)  latest in thread

Message-ID: <8AFB8564-CD9A-4FE3-A8A4-36F615B04C03@yesql.se>
Permalink:  ../8AFB8564-CD9A-4FE3-A8A4-36F615B04C03@yesql.se/
Also on:    postgresql.org/message-id/8AFB8564-CD9A-4FE3-A8A4-36F615B04C03@yesql.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: daniel@yesql.se, tgl@sss.pgh.pa.us, greg@burd.me, andrew@dunslane.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: Add a Nix flake
  In-Reply-To: <8AFB8564-CD9A-4FE3-A8A4-36F615B04C03@yesql.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox