about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch')
-rw-r--r--pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch b/pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch
new file mode 100644
index 0000000000000..996072ebd2fbd
--- /dev/null
+++ b/pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch
@@ -0,0 +1,13 @@
+On NixOS we *want* stuff relative to symlinks.
+---
+--- a/src/common/exec.c
++++ b/src/common/exec.c
+@@ -238,6 +238,8 @@
+ static int
+ normalize_exec_path(char *path)
+ {
++	return 0;
++
+ 	/*
+ 	 * We used to do a lot of work ourselves here, but now we just let
+ 	 * realpath(3) do all the heavy lifting.