Skip to content

Commit 84ed8b3

Browse files
committed
improve example, fix syntax error
1 parent 0d2d096 commit 84ed8b3

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

readme.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ With nix-prisma-utils it's the other way around. You can simply install prisma t
3232
let
3333
system = "x86_64-linux";
3434
pkgs = nixpkgs.legacyPackages.${system};
35-
prisma =
36-
prisma-utils.lib.prisma-factory {
37-
inherit pkgs;
38-
# leave the hash empty, nix will complain and tell you the right hash
39-
hash = "";
40-
npmLock = ./package-lock.json # <--- path to our package-lock.json file that contains the version of prisma-engines
41-
# if you use another package manager from npm, choose yours from
42-
# yarnLock = ./yarn.lock;
43-
# pnpmLock = ./pnpm-lock.yaml;
44-
# bunLock = ./bun.lock;
45-
};
35+
prisma = prisma-utils.lib.prisma-factory {
36+
inherit pkgs;
37+
# leave the hash empty, nix will complain and tell you the right hash
38+
hash = "";
39+
npmLock = ./package-lock.json; # <--- path to our package-lock.json file that contains the version of prisma-engines
40+
# if you use another package manager from npm, choose yours from
41+
# yarnLock = ./yarn.lock;
42+
# pnpmLock = ./pnpm-lock.yaml;
43+
# bunLock = ./bun.lock;
44+
# or if you want to specify the prisma commit directly
45+
# _commit = "...";
46+
};
4647
in
4748
{
4849
devShells.${system}.default = pkgs.mkShell {

0 commit comments

Comments
 (0)