about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/relative-to-symlinks.patch
blob: c9b199baf960c2235e37b7ef469015a4137dbd62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
On NixOS we *want* stuff relative to symlinks.
---
--- a/src/common/exec.c
+++ b/src/common/exec.c
@@ -218,6 +218,8 @@
 static int
 resolve_symlinks(char *path)
 {
+	return 0;
+
 #ifdef HAVE_READLINK
 	struct stat buf;
 	char		orig_wd[MAXPGPATH],