postgis: add explanatory comment
This commit is contained in:
parent
7f54b9a2c6
commit
19011bad0c
1 changed files with 5 additions and 0 deletions
|
@ -46,12 +46,17 @@ stdenv.mkDerivation rec {
|
|||
" \
|
||||
"raster/scripts/python/Makefile";
|
||||
mkdir -p $out/bin
|
||||
|
||||
# postgis' build system assumes it is being installed to the same place as postgresql, and looks
|
||||
# for the postgres binary relative to $PREFIX. We gently support this system using an illusion.
|
||||
ln -s ${postgresql}/bin/postgres $out/bin/postgres
|
||||
'';
|
||||
|
||||
# create aliases for all commands adding version information
|
||||
postInstall = ''
|
||||
# Teardown the illusory postgres used for building; see postConfigure.
|
||||
rm $out/bin/postgres
|
||||
|
||||
for prog in $out/bin/*; do # */
|
||||
ln -s $prog $prog-${version}
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue