14 lines
418 B
Nix
14 lines
418 B
Nix
|
{ pkgs ? import <nixpkgs> {} }:
|
||
|
pkgs.mkShell {
|
||
|
buildInputs = with pkgs; [
|
||
|
nodejs_18
|
||
|
nodePackages_latest.prisma
|
||
|
openssl
|
||
|
];
|
||
|
env = {
|
||
|
PRISMA_QUERY_ENGINE_LIBRARY = "${pkgs.prisma-engines}/lib/libquery_engine.node";
|
||
|
PRISMA_QUERY_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/query-engine";
|
||
|
PRISMA_SCHEMA_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/schema-engine";
|
||
|
};
|
||
|
}
|