Brew formula installing postgres extensions to a pinned version #1053
-
I'm trying to write a fomula for postgis for use in a personal tap, but I'm running into what I think is an intentional barrier with the homebrew sandbox, and I don't know my way around formulas enough to know whether I'm barking up the wrong tree (or trying to do something impossible). I'm testing this formula on an intel Mac with macOS 11.2.3 and brew --version 3.0.5. I'm basing the formula off of the postgis in linuxbrew, but I want to do a few things differently, and I don't know if they are possible:
The formula contains a bunch of custom install lines, which seem (based on some interactive debugging) to put postgis files into folders in I'm getting this much from running CREATE EXTENSION in Postgres and finding I'm not sure how to find the path |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can get this path using |
Beta Was this translation helpful? Give feedback.
You can get this path using
Formula["postgresql@11"].opt_share
.