panorama/nix/prisma-env.nix
2023-03-23 13:32:34 -05:00

14 lines
479 B
Nix

{ prisma-engines }:
{
PRISMA_CLI_QUERY_ENGINE_TYPE = "binary";
PRISMA_CLIENT_ENGINE_TYPE = "binary";
PRISMA_QUERY_ENGINE_LIBRARY = "${prisma-engines}/lib/libquery_engine.so";
PRISMA_QUERY_ENGINE_BINARY = "${prisma-engines}/bin/query-engine";
PRISMA_MIGRATION_ENGINE_BINARY = "${prisma-engines}/bin/migration-engine";
PRISMA_INTROSPECTION_ENGINE_BINARY =
"${prisma-engines}/bin/introspection-engine";
PRISMA_FMT_BINARY = "${prisma-engines}/bin/prisma-fmt";
}