Skip to content

Commit dd60496

Browse files
committed
wip
1 parent b6af6d6 commit dd60496

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nix/ext/postgis.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ stdenv.mkDerivation rec {
6161
ln -s ${postgresql}/bin/postgres $out/bin/postgres
6262
'';
6363

64+
installPhase = ''
65+
mkdir -p $out/{bin,lib,share/postgresql/extension}
66+
cp bin/* $out/bin
67+
cp *.so $out/lib
68+
cp *.sql $out/share/postgresql/extension
69+
cp *.control $out/share/postgresql/extension
70+
'';
71+
6472
# create aliases for all commands adding version information
6573
postInstall = ''
6674
# Teardown the illusory postgres used for building; see postConfigure.

0 commit comments

Comments
 (0)