nixpacks now fails openssl
justinbeck
PROOP

a year ago

I've had bun + prisma running the last 3mo or so

went to do a deployment today, and got this error. I can't get my old deploys to work.

my nixpacks.toml

[phases.build]

nixLibs = ['openssl']

nix-env: /nix/store/2kl52k9kclb82bg8nvf4paxb3v972c70-openssl-3.0.10/lib/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /nix/store/ixq7chmml361204anwph16ll2njcf19d-curl-8.11.0/lib/libcurl.so.4)

This is required for prisma which then does this (if I remove the nixpacks.toml it builds but then won't run)

generator client {

provider = "prisma-client-js"

output = "../node_modules/.prisma/client"

binaryTargets = ["native", "debian-openssl-1.1.x", "debian-openssl-3.0.x"]

}

back when I was getting this working I spent a lot of time between docker and this and got this to work so i've been generally happy with the solution. Did something change with nixpacks recently and I can just set the version or something to get my server back operational. I'm dead in the water at the moment.

Solved

3 Replies

This was an issue from the past... can you try setting the service settings to Railpack?


Status changed to Awaiting User Response Railway about 1 year ago


angelo-railway

This was an issue from the past... can you try setting the service settings to Railpack?

justinbeck
PROOP

a year ago

Solved - Sure thing.

flipped setting to railpack worked like a charm

excited to play with railpack more.


Status changed to Awaiting Railway Response Railway about 1 year ago


We are all ears for any feedback that you have.

You should also noticed that builds are faster.


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

10 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...