File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 136136 ] ;
137137 shellHook = ''
138138 export NODE_PATH="${ nodeModules } /lib/node_modules"
139+ ln -sfn $NODE_PATH node_modules
139140 export PATH="${ nodeModules } /bin:$PATH"
140141 ${ pkgs . lib . optionalString packageLockOnly "export NPM_CONFIG_PACKAGE_LOCK_ONLY=true" }
141142 ''
177178 unpackPhase = ''
178179 export HOME="$TMP"
179180 export NODE_PATH="${ nodeModules } /lib/node_modules"
181+ ln -sfn $NODE_PATH node_modules
180182 export PATH="${ nodeModules } /bin:$PATH"
181183 cp -r $src .
182184 install-spago-style
227229 # sandbox, so we can just use node instead
228230 # (idea taken from `plutus-playground-client`)
229231 ''
232+ ln -sfn $NODE_PATH node_modules
230233 cd ${ project }
231234 ${ nodejs } /bin/node --enable-source-maps -e 'import("./output/${ testMain } /index.js").then(m => m.main())'
232235 touch $out
400403 ''
401404 export HOME="$TMP"
402405 export NODE_PATH="${ nodeModules } /lib/node_modules"
406+ ln -sfn $NODE_PATH node_modules
403407 export PATH="${ nodeModules } /bin:$PATH"
404408 ${ pkgs . lib . optionalString browserRuntime "export BROWSER_RUNTIME=1" }
405409 cp -r ${ project } /* .
489493 }
490494 ''
491495 export NODE_PATH="${ pursDocsSearchNpm . nodeDependencies } /lib/node_modules"
496+ ln -sfn $NODE_PATH node_modules
492497 export PATH="${ pursDocsSearchNpm . nodeDependencies } /bin:$PATH"
493498 cp -r ${ buildPursDocs { } } /{generated-docs,output,src} .
494499 install-spago-style
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ if (typeof BROWSER_RUNTIME != "undefined" && BROWSER_RUNTIME) {
88 lib = await import ( "@emurgo/cardano-message-signing-nodejs" ) ;
99 csl = await import ( "@emurgo/cardano-serialization-lib-nodejs" ) ;
1010}
11- import gcWrapper from "@mlabs-haskell/csl-gc-wrapper" ;
12- lib = gcWrapper ( lib ) ;
13- csl = gcWrapper ( csl ) ;
11+ // import gcWrapper from "@mlabs-haskell/csl-gc-wrapper";
12+ // lib = gcWrapper(lib);
13+ // csl = gcWrapper(csl);
1414
1515function opt_chain ( maybe , obj ) {
1616 const isNothing = x => x === null || x === undefined ;
You can’t perform that action at this time.
0 commit comments