File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments