dotfiles/common/users/homeModules/prisma.nix

13 lines
454 B
Nix
Raw Normal View History

2024-11-26 18:09:30 -05:00
{pkgs, unstable ? pkgs, ...}: {
2024-11-26 17:01:58 -05:00
home = {
packages = with pkgs; [
2024-11-26 18:04:08 -05:00
unstable.prisma
2024-11-26 17:01:58 -05:00
prisma-engines
];
sessionVariables = {
PRISMA_QUERY_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/query-engine";
PRISMA_SCHEMA_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/schema-engine";
PRISMA_QUERY_ENGINE_LIBRARY = "${pkgs.prisma-engines}/lib/libquery_engine.node";
};
};
}