Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 9a89028

Browse files
committed
fix citus install phase
1 parent a83b5d9 commit 9a89028

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ext/citus.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ stdenv.mkDerivation rec {
1616
installPhase = ''
1717
mkdir -p $out/{lib,share/postgresql/extension}
1818
19-
cp *.so $out/lib
20-
cp *.sql $out/share/postgresql/extension
21-
cp *.control $out/share/postgresql/extension
19+
cp src/backend/columnar/citus_columnar.so $out/lib
20+
cp src/backend/columnar/citus_columnar.control $out/share/postgresql/extension
21+
cp src/backend/columnar/build/sql/*.sql $out/share/postgresql/extension
22+
23+
cp src/backend/distributed/citus.so $out/lib
24+
cp src/backend/distributed/citus.control $out/share/postgresql/extension
25+
cp src/backend/distributed/build/sql/*.sql $out/share/postgresql/extension
2226
'';
2327

2428
meta = with lib; {

0 commit comments

Comments
 (0)