mznotes/nix/prisma-env.nix

15 lines
479 B
Nix
Raw Normal View History

2023-03-23 18:32:34 +00:00
{ 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";
}