Compare commits

...

2 Commits

Author SHA1 Message Date
bb515f1219 prisma finally fucking works god damnit 2025-10-22 06:35:52 -04:00
e841dd5a78 test?? 2025-10-22 06:32:42 -04:00
3 changed files with 1039 additions and 2 deletions

1027
alarm-server/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -4,12 +4,14 @@
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "latest",
"prisma": "^6.7.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@prisma/client": "^6.7.0",
"@socket.io/bun-engine": "^0.0.3",
"hono": "^4.10.2",
"socket.io": "^4.8.1"

View File

@@ -22,15 +22,23 @@
bun
nodejs_24
prisma
prisma-engines
openssl_3 # needed for prisma
# DB deps
ephemeralpg
postgresql
];
shellHook = ''
shellHook = with pkgs; ''
echo "Welcome to the methylphenidate dev environment!"
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";
'';
};
};