Sefa Eyeoglu 74ab7622e7
prisma-engines: add setup hook for configuring environment variables
The primary use case of this package is to use it in a devShell to allow
Prisma to work on NixOS. This setup hook simplifies this, by setting the
environment variables automatically.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-06-15 12:40:52 +02:00

5 lines
236 B
Bash

export PRISMA_SCHEMA_ENGINE_BINARY="@out@/bin/schema-engine"
export PRISMA_QUERY_ENGINE_BINARY="@out@/bin/query-engine"
export PRISMA_QUERY_ENGINE_LIBRARY="@out@/lib/libquery_engine.node"
export PRISMA_FMT_BINARY="@out@/bin/prisma-fmt"