1diff --git a/src/port/exec.c b/src/port/exec.c
2index c79e8ba..42c4091 100644
3--- a/src/port/exec.c
4+++ b/src/port/exec.c
5@@ -216,6 +216,9 @@ find_my_exec(const char *argv0, char *retpath)
6 static int
7 resolve_symlinks(char *path)
8 {
9+ // On NixOS we *want* stuff relative to symlinks.
10+ return 0;
11+
12 #ifdef HAVE_READLINK
13 struct stat buf;
14 char orig_wd[MAXPGPATH],