diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch b/nixpkgs/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch new file mode 100644 index 000000000000..349fd4203348 --- /dev/null +++ b/nixpkgs/pkgs/servers/sql/postgresql/patches/disable-normalize_exec_path.patch @@ -0,0 +1,12 @@ +--- a/src/common/exec.c ++++ b/src/common/exec.c +@@ -238,6 +238,9 @@ + static int + normalize_exec_path(char *path) + { ++ // On NixOS we *want* stuff relative to symlinks. ++ return 0; ++ + /* + * We used to do a lot of work ourselves here, but now we just let + * realpath(3) do all the heavy lifting. |