From ae5b96f3ab6aabb60809ab78c2c99f8dd51ee678 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Sat, 16 Sep 2023 11:03:10 +0200 Subject: postgresql_16: init at 16.0 --- .../sql/postgresql/patches/disable-normalize_exec_path.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch (limited to 'pkgs/servers/sql/postgresql/patches') diff --git a/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch b/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch new file mode 100644 index 0000000000000..349fd4203348a --- /dev/null +++ b/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch @@ -0,0 +1,12 @@ +--- a/src/common/exec.c ++++ b/src/common/exec.c +@@ -238,6 +238,9 @@ + static int + normalize_exec_path(char *path) + { ++ // On NixOS we *want* stuff relative to symlinks. ++ return 0; ++ + /* + * We used to do a lot of work ourselves here, but now we just let + * realpath(3) do all the heavy lifting. -- cgit 1.4.1