File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 7272 yarn-v1
7373 yarn-berry
7474 ] ;
75- shellHook = prisma . shellHook ;
75+ env = prisma . env ;
7676 } ;
7777 }
7878 )
Original file line number Diff line number Diff line change 3838 in
3939 writeShellApplication {
4040 name = "test-npm" ;
41+ runtimeInputs = [ nodejs ] ;
42+ runtimeEnv = prisma . env ;
4143 text = ''
4244 echo "testing npm"
43- ${ prisma . shellHook }
4445 cd npm
45- ${ nodejs } /bin/ npm ci
46+ npm ci
4647 ./node_modules/.bin/prisma generate
4748 '' ;
4849 } ;
5455 in
5556 writeShellApplication {
5657 name = "test-pnpm" ;
58+ runtimeInputs = [ pnpm ] ;
59+ runtimeEnv = prisma . env ;
5760 text = ''
5861 echo "testing pnpm"
59- ${ prisma . shellHook }
6062 cd pnpm
61- ${ pnpm } /bin/ pnpm install
63+ pnpm install
6264 ./node_modules/.bin/prisma generate
6365 '' ;
6466 } ;
7173 writeShellApplication {
7274 name = "test-bun" ;
7375 runtimeInputs = [ bun ] ;
76+ runtimeEnv = prisma . env ;
7477 text = ''
7578 echo "testing bun"
76- ${ prisma . shellHook }
7779 cd bun
7880 bun install
7981 bunx prisma generate
8890 writeShellApplication {
8991 name = "test-yarn-v1" ;
9092 runtimeInputs = [ yarn-v1 ] ;
93+ runtimeEnv = prisma . env ;
9194 text = ''
9295 echo "testing yarn v1"
93- ${ prisma . shellHook }
9496 cd yarn-v1
9597 yarn-v1 install
9698 yarn-v1 prisma generate
105107 writeShellApplication {
106108 name = "test-yarn-berry" ;
107109 runtimeInputs = [ yarn-berry ] ;
110+ runtimeEnv = prisma . env ;
108111 text = ''
109112 echo "testing yarn berry"
110- ${ prisma . shellHook }
111113 cd yarn-berry
112114 yarn-berry install
113115 yarn-berry prisma generate
You can’t perform that action at this time.
0 commit comments