mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
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:
parent
0f2bcb6ff2
commit
fbb060f197
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user