all: install prisma
This commit is contained in:
1 parent
b3bbbf2810
commit
a982980795
4 files changed
+2034
-17
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
|
||||
let
|
||||
prisma-engines = pkgs.prisma-engines;
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
nodejs
|
||||
openssl
|
||||
prisma-engines
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export PRISMA_QUERY_ENGINE_BINARY="${prisma-engines}/bin/query-engine"
|
||||
export PRISMA_MIGRATION_ENGINE_BINARY="${prisma-engines}/bin/migration-engine"
|
||||
export PRISMA_FMT_BINARY="${prisma-engines}/bin/prisma-fmt"
|
||||
export PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING=1
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user