Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow skipping downloads of engines by setting env vars #405

Merged
merged 2 commits into from
Oct 29, 2023

Conversation

Ziothh
Copy link
Contributor

@Ziothh Ziothh commented Oct 21, 2023

Closes #395

It adds support for operating systems that Prisma does not compile binaries for like NixOS by setting the needed env variables for the engines.

It should still support the previous way of working but it's worth noting that I haven't tested that yet.
I currently only have a NixOS machine so I haven't been able to test it on something like Darwin.

@vercel
Copy link

vercel bot commented Oct 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
prisma-client-rust ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2023 5:43am

@donovanglover
Copy link

Works for me on NixOS. Looking forward to the merge 👍

@Brendonovich
Copy link
Owner

Idk why I called fetch_native before doing the env checks but thanks for fixing it 😂

@Brendonovich Brendonovich merged commit 78cfbef into Brendonovich:main Oct 29, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow binary location to be defined via env variables
3 participants