hermes/shell.nix
2024-05-11 16:57:40 -04:00

24 lines
550 B
Nix

{
pkgs ? import <nixpkgs> { },
}: pkgs.mkShell {
buildInputs = with pkgs; [
# api/
nodejs
openssl
postgresql
lsof
];
shellHook = ''
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_SCHEMA_ENGINE_BINARY=${pkgs.prisma-engines}/bin/schema-engine
if [ ! -d ".tmp" ]; then
echo "Hello and welcome to the NextNet project!"
mkdir .tmp
fi
source init.sh
'';
}