We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6af6d6 commit dd60496Copy full SHA for dd60496
nix/ext/postgis.nix
@@ -61,6 +61,14 @@ stdenv.mkDerivation rec {
61
ln -s ${postgresql}/bin/postgres $out/bin/postgres
62
'';
63
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
+
72
# create aliases for all commands adding version information
73
postInstall = ''
74
# Teardown the illusory postgres used for building; see postConfigure.
0 commit comments