15 lines
427 B
Nix
15 lines
427 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
prisma_7
|
|
pnpm_10
|
|
nodejs_25
|
|
vscode-langservers-extracted
|
|
typescript
|
|
];
|
|
shellHook = ''
|
|
export PRISMA_QUERY_ENGINE_LIBRARY=${pkgs.prisma-engines}/lib/libquery_engine.node
|
|
export PRISMA_QUERY_ENGINE_BINARY=${pkgs.prisma-engines}/bin/query-engine
|
|
export PRISMA_SCHEMA_ENGINE_BINARY=${pkgs.prisma-engines}/bin/schema-engine
|
|
'';
|
|
}
|