Something went wrong. Try again.
Mirror of https://github.com/kualta/site — web infrastructure
Something went wrong. Try again.
site shell.nix
622 B · 21 lines
123456789101112131415161718192021{ pkgs ? import <nixpkgs> {}}:
pkgs.mkShell { buildInputs = with pkgs; [ nodejs_20 nodePackages.yarn nodePackages.node-gyp vips python3 prisma-engines openssl ];
shellHook = '' 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" export PATH="$PWD/node_modules/.bin/:$PATH" ''; }