Skip to content

Commit

Permalink
Merge pull request #223700 from ivan/prisma-engines-4.12.0
Browse files Browse the repository at this point in the history
prisma-engines: 4.11.0 -> 4.12.0
  • Loading branch information
marsam authored Apr 1, 2023
2 parents 9607160 + e5ff1da commit a47ef61
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 102 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/node-packages/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -412,14 +412,13 @@ final: prev: {

src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz";
sha512 = "sha512-4zZmBXssPUEiX+GeL0MUq/Yyie4ltiKmGu7jCJFnYMamNrrulTBc+D+QwAQSJ01tyzeGHlD13kOnqPwRipnlNw==";
hash = "sha512-xqVper4mbwl32BWzLpdznHAYvYDWQQWK2tBfXjdUD397XaveRyAP7SkBZ6kFlIg8kKayF4hvuaVtYwXd9BodAg==";
};
postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \
--set PRISMA_MIGRATION_ENGINE_BINARY ${prisma-engines}/bin/migration-engine \
--set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \
--set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node \
--set PRISMA_INTROSPECTION_ENGINE_BINARY ${prisma-engines}/bin/introspection-engine \
--set PRISMA_FMT_BINARY ${prisma-engines}/bin/prisma-fmt
'';

Expand Down
Loading

0 comments on commit a47ef61

Please sign in to comment.