12 lines
No EOL
412 B
Nix
12 lines
No EOL
412 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}: pkgs.mkShell {
|
|
buildInputs = [ pkgs.nodejs pkgs.openssl pkgs.postgresql pkgs.lsof ];
|
|
shellHook = ''
|
|
export PRISMA_QUERY_ENGINE_BINARY=${pkgs.prisma-engines}/bin/query-engine
|
|
export PRISMA_QUERY_ENGINE_LIBRARY=${pkgs.prisma-engines}/lib/libquery_engine.node
|
|
export PRISMA_SCHEMA_ENGINE_BINARY=${pkgs.prisma-engines}/bin/schema-engine
|
|
|
|
source init.sh
|
|
'';
|
|
} |