projects/guix·blob ruby-team · refs

22 lines · 681 B

1diff --git a/src/common/exec.c b/src/common/exec.c
2index f209b93..ed42202 100644
3--- a/src/common/exec.c
4+++ b/src/common/exec.c
5@@ -238,6 +238,14 @@ find_my_exec(const char *argv0, char *retpath)
6 static int
7 normalize_exec_path(char *path)
8 {
9+ /*
10+ * Guix specific patch: postgresql extensions need to be located in the
11+ * same directory as postgresql.
12+ * In Guix we currently use directory-unions to create extended postgresql
13+ * packages. Directory unions use symlinks, that's why we need to be able
14+ * to use symlinks.
15+ */
16+ return 0;
17 /*
18 * We used to do a lot of work ourselves here, but now we just let
19 * realpath(3) do all the heavy lifting.
20--
212.46.0
22