Skip to content

Commit

Permalink
chore(deps): bump postgis, nixpkgs, poetry2nix and quarto (#10245)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Sep 28, 2024
1 parent 4b34a61 commit 32b58a3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 26 deletions.
16 changes: 6 additions & 10 deletions docker/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
FROM postgis/postgis:15-3.3-alpine AS pgvector-builder
RUN apk add --no-cache git
RUN apk add --no-cache build-base
RUN apk add --no-cache clang15
RUN apk add --no-cache llvm15-dev llvm15
FROM postgis/postgis:16-3.5-alpine AS pgvector-builder
RUN apk add --no-cache git build-base clang15 llvm15-dev llvm15
WORKDIR /tmp
RUN git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git
RUN git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
WORKDIR /tmp/pgvector
RUN make
RUN make install
RUN make && make install

FROM postgis/postgis:15-3.3-alpine
RUN apk add --no-cache postgresql15-plpython3
FROM postgis/postgis:16-3.5-alpine
RUN apk add --no-cache postgresql16-plpython3
COPY --from=pgvector-builder /usr/local/lib/postgresql/bitcode/vector.index.bc /usr/local/lib/postgresql/bitcode/vector.index.bc
COPY --from=pgvector-builder /usr/local/lib/postgresql/vector.so /usr/local/lib/postgresql/vector.so
COPY --from=pgvector-builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions nix/quarto/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ let
"aarch64-darwin" = "macos";
};
shas = {
"x86_64-linux" = "sha256-Ns3DLQ8V0gaxEJgStMJFat2kynRuAH1ysNypxNRTDsk=";
"aarch64-linux" = "sha256-3KjI7RRsFtrPNp7EJBlCACUQJukO9+CMf5UdkMMgqxU=";
"aarch64-darwin" = "sha256-9uX8CkZoQ7jgBoL3pp+NU73lN3RyzCGHbV0ag9vc+UY=";
"x86_64-linux" = "sha256-qSQc8Qw2ah0Kbrcb0kNuFTSQB3d7dnVPRRViA7//mgE=";
"aarch64-linux" = "sha256-PZfVCZf6XOUMaMOmIyBe1CrPTKQv53jf2RzunZN6RNk=";
"aarch64-darwin" = "sha256-LCROmrVuYBI4FE1K+c/mo8S7YEJ02puqlSHLcuRLEXc=";
};
inherit (stdenv.hostPlatform) system;
in
stdenv.mkDerivation rec {
pname = "quarto";
version = "1.6.9";
version = "1.6.15";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${version}/quarto-${version}-${platforms.${system}}.tar.gz";
sha256 = shas.${system};
Expand Down

0 comments on commit 32b58a3

Please sign in to comment.