Skip to content

Commit 75a8d28

Browse files
committed
doc: default to using prisma.env
1 parent 6b33d9d commit 75a8d28

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

readme.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ With nix-prisma-utils it's the other way around. You can simply install prisma t
4343
in
4444
{
4545
devShells.x86_64-linux.default = nixpkgs.mkShell {
46-
shellHook = prisma.shellHook;
47-
# you can also use `env` instead of shellHook.
48-
# env = prisma.env;
46+
env = prisma.env;
47+
# or, you can use `shellHook` instead of `env` to load the same environment variables.
48+
# shellHook = prisma.shellHook;
4949
};
5050
};
5151
}
@@ -75,9 +75,9 @@ With nix-prisma-utils it's the other way around. You can simply install prisma t
7575
in
7676
{
7777
devShells.x86_64-linux.default = nixpkgs.mkShell {
78-
shellHook = prisma.shellHook;
79-
# you can also use `env` instead of shellHook.
80-
# env = prisma.env;
78+
env = prisma.env;
79+
# or, you can use `shellHook` instead of `env` to load the same environment variables.
80+
# shellHook = prisma.shellHook;
8181
};
8282
};
8383
}
@@ -108,9 +108,9 @@ With nix-prisma-utils it's the other way around. You can simply install prisma t
108108
in
109109
{
110110
devShells.x86_64-linux.default = nixpkgs.mkShell {
111-
shellHook = prisma.shellHook;
112-
# you can also use `env` instead of shellHook.
113-
# env = prisma.env;
111+
env = prisma.env;
112+
# or, you can use `shellHook` instead of `env` to load the same environment variables.
113+
# shellHook = prisma.shellHook;
114114
};
115115
};
116116
}

0 commit comments

Comments
 (0)