mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-05 23:18:11 +09:00
web
This commit is contained in:
+10
-4
@@ -7,11 +7,14 @@ pkgs.mkShell {
|
||||
|
||||
packages = with pkgs; [
|
||||
node
|
||||
pnpm
|
||||
nodePackages_latest.pnpm
|
||||
nodePackages_latest.vercel
|
||||
nodePackages_latest.prisma
|
||||
zsh
|
||||
openssl
|
||||
pkg-config
|
||||
jq
|
||||
ngrok
|
||||
];
|
||||
|
||||
NODE_ENV = "development";
|
||||
@@ -30,9 +33,6 @@ pkgs.mkShell {
|
||||
|
||||
# Prisma engines from nixpkgs (avoid binaries.prisma.sh fetch on NixOS)
|
||||
export PKG_CONFIG_PATH="${pkgs.openssl.dev}/lib/pkgconfig"
|
||||
export PRISMA_SCHEMA_ENGINE_BINARY="${pkgs.prisma-engines}/bin/schema-engine"
|
||||
export PRISMA_QUERY_ENGINE_BINARY="${pkgs.prisma-engines}/bin/query-engine"
|
||||
export PRISMA_QUERY_ENGINE_LIBRARY="${pkgs.prisma-engines}/lib/libquery_engine.node"
|
||||
export PRISMA_FMT_BINARY="${pkgs.prisma-engines}/bin/prisma-fmt"
|
||||
|
||||
# ---- show tool versions
|
||||
@@ -57,4 +57,10 @@ pkgs.mkShell {
|
||||
exec ${pkgs.zsh}/bin/zsh -i
|
||||
fi
|
||||
'';
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user