meta: Don't define prisma env variables globally

This should be handled in individual flake.nix files for the respective
projects instead so they can depend on their own version of prisma.
This commit is contained in:
Donovan Glover 2024-05-10 14:53:04 -04:00
parent 0f2bcb6ff2
commit fbb060f197
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,7 +1,7 @@
{ pkgs, ... }:
let
inherit (pkgs) gsettings-desktop-schemas prisma-engines gtk3;
inherit (pkgs) gsettings-desktop-schemas gtk3;
in
{
programs.fish = {
@ -17,11 +17,6 @@ in
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"
export GPG_TTY=(tty)