mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 00:04:14 +00:00
154215cfd8
Trying to understand what each patch does made me come up with some more descriptive names: - Renaming the two disable-xxx patches to a common names makes it immediately clear that one replaces the other depending on version number. - findstring was really not descriptive at all. - hardcode-pgxs-path will be extended with more paths for split outputs in a later commit. Renaming here already to allow git to better track renames. Finally replacing HARDCODED_PGXS_PATH with $out/lib in the last patch, makes it easier to understand what the end result will look like when reading the patch.
14 lines
247 B
Diff
14 lines
247 B
Diff
On NixOS we *want* stuff relative to symlinks.
|
|
---
|
|
--- a/src/common/exec.c
|
|
+++ b/src/common/exec.c
|
|
@@ -218,6 +218,8 @@
|
|
static int
|
|
resolve_symlinks(char *path)
|
|
{
|
|
+ return 0;
|
|
+
|
|
#ifdef HAVE_READLINK
|
|
struct stat buf;
|
|
char orig_wd[MAXPGPATH],
|