From b47e024ecdb5478c5eb4f093bf91edecb6a10a4a Mon Sep 17 00:00:00 2001 From: Mike Heier Date: Fri, 15 Mar 2024 00:49:50 -0400 Subject: [PATCH] Add a shell.nix to noauthd --- shell.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..5a568a5 --- /dev/null +++ b/shell.nix @@ -0,0 +1,13 @@ +{ pkgs ? import {} }: + 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"; + }; + }