1--- a/src/common/exec.c 2014-09-04 20:19:12.236057588 +0200
2+++ b/src/common/exec.c 2014-09-04 20:19:50.550251633 +0200
3@@ -218,6 +218,9 @@
4 static int
5 resolve_symlinks(char *path)
6 {
7+ // On NixOS we *want* stuff relative to symlinks.
8+ return 0;
9+
10 #ifdef HAVE_READLINK
11 struct stat buf;
12 char orig_wd[MAXPGPATH],