This commit is contained in:
2025-10-22 06:32:42 -04:00
parent 5cab05d927
commit e841dd5a78

View File

@@ -22,15 +22,23 @@
bun bun
nodejs_24 nodejs_24
prisma prisma
prisma-engines
openssl_3 # needed for prisma openssl_3 # needed for prisma
# DB deps # DB deps
ephemeralpg ephemeralpg
postgresql postgresql
]; ];
shellHook = '' shellHook = with pkgs; ''
echo "Welcome to the methylphenidate dev environment!" echo "Welcome to the methylphenidate dev environment!"
export NIX_LDFLAGS="''${NIX_LDFLAGS/-rpath $out\/lib /}" export NIX_LDFLAGS="''${NIX_LDFLAGS/-rpath $out\/lib /}"
export PRISMA_SCHEMA_ENGINE_BINARY="${prisma-engines}/bin/migration-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 PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING="1";
''; '';
}; };
}; };