about summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/patches/relative-to-symlinks-16+.patch
blob: 996072ebd2fbd689a151d1e55519850461b59b56 (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
@@ -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.