deathx02
I am getting postgres 16 Issue
#8 30.90 error: collision between
/nix/store/cpmgrq24rjqf415q3m4a5mlg9fw5x9r0-postgresql-16.0/lib/libpgport.a' and
/nix/store/frsl3935sgp53hdgmmknhbl33d4fb7nn-postgresql-14.9/lib/libpgport.a'
#8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100
-----
30.90 error: collision between /nix/store/cpmgrq24rjqf415q3m4a5mlg9fw5x9r0-postgresql-16.0/lib/libpgport.a' and
/nix/store/frsl3935sgp53hdgmmknhbl33d4fb7nn-postgresql-14.9/lib/libpgport.a'
30.97 error: builder for '/nix/store/h1y4fdw7n62z5gq939nyqn2nz4lxhk34-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env.drv' failed with exit code 25
-----
Dockerfile:8
-------------------
6 |
7 | COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
9 |
10 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100
Error: Docker build failed
I want to remove 14.9
and only keep 16
NIXPLACK.TOML
[phases.setup]
nixPkgs = ['...', 'postgresql_16']70 replies