From 86351c48f5df99864f30e38fbab7a3cd3117e94e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 29 Dec 2023 17:53:37 -0500 Subject: [PATCH] fish: Make prisma work outside of dev shell More convenient for me personally. --- home/fish.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/fish.nix b/home/fish.nix index 7b6c0474..220d9b2f 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -10,6 +10,11 @@ export TERMCMD="kitty --single-instance" export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS" export DIRENV_LOG_FORMAT="" + export PRISMA_SCHEMA_ENGINE_BINARY="${prisma-engines}/bin/schema-engine" + export PRISMA_QUERY_ENGINE_BINARY="${prisma-engines}/bin/query-engine" + export PRISMA_QUERY_ENGINE_LIBRARY="${prisma-engines}/lib/libquery_engine.node" + export PRISMA_INTROSPECTION_ENGINE_BINARY="${prisma-engines}/bin/introspection-engine" + export PRISMA_FMT_BINARY="${prisma-engines}/bin/prisma-fmt" # Required to make gpg-agent work in cases like git commit export GPG_TTY=(tty)