Skip to content

Commit 445e9a6

Browse files
added shell.nix + bump prisma to latest
1 parent eaf6fc0 commit 445e9a6

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@oasisdex/transactions": "^0.0.16",
3838
"@oasisdex/utils": "^0.0.6",
3939
"@oasisdex/web3-context": "^0.0.9",
40-
"@prisma/client": "^2.0.0-beta.6",
40+
"@prisma/client": "^2.14.0",
4141
"@types/ethereumjs-tx": "^2.0.0",
4242
"@types/mixpanel-browser": "^2.23.1",
4343
"@types/morgan": "^1.9.0",
@@ -138,7 +138,7 @@
138138
"devDependencies": {
139139
"@babel/core": "^7.9.0",
140140
"@babel/plugin-proposal-class-properties": "^7.10.4",
141-
"@prisma/cli": "^2.0.0-beta.6",
141+
"@prisma/cli": "^2.14.0",
142142
"@storybook/react": "^5.3.19",
143143
"@types/bn.js": "^4.11.1",
144144
"@types/body-parser": "^1.19.0",

shell.nix

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ pkgs ? import <nixpkgs> { } }:
2+
3+
with pkgs;
4+
5+
mkShell {
6+
buildInputs = [ ];
7+
shellHook = ''
8+
export PRISMA_MIGRATION_ENGINE_BINARY="$HOME/code/prisma/target/release/migration-engine"
9+
export PRISMA_QUERY_ENGINE_BINARY="$HOME/code/prisma/target/release/query-engine"
10+
export PRISMA_INTROSPECTION_ENGINE_BINARY="$HOME/code/prisma/target/release/introspection-engine"
11+
export PRISMA_FMT_BINARY="$HOME/code/prisma/target/release/migration-engine"
12+
'';
13+
}

0 commit comments

Comments
 (0)