File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ node_binary_location=nodejs/bin/node
3131node_binary=" $( rlocation " ${node_binary_location} " ) " || \
3232 (echo >&2 " Failed to locate ${node_binary_location} " && exit 1)
3333
34- node_bundle_js_location =run_nix_shell/generated/bundle.mjs
35- node_bundle_js =" $( rlocation " ${node_bundle_js_location } " ) " || \
36- (echo >&2 " Failed to locate ${node_bundle_js_location } " && exit 1)
34+ node_bundle_mjs_location =run_nix_shell/generated/bundle.mjs
35+ node_bundle_mjs =" $( rlocation " ${node_bundle_mjs_location } " ) " || \
36+ (echo >&2 " Failed to locate ${node_bundle_mjs_location } " && exit 1)
3737
3838# MARK - Setup
3939
40- export RNS_NODE =" $node_binary "
41- export RNS_INDEX_JS =" $node_bundle_js "
40+ export NODE =" $node_binary "
41+ export RNS_BUNDLE_MJS =" $node_bundle_mjs "
4242
4343cat > shell.nix << -EOF
4444{
Original file line number Diff line number Diff line change @@ -119,4 +119,4 @@ for ((i=0; i < ${#INPUTS[@]}; i+=2)); do
119119 fi
120120done
121121
122- exec env " ${variables[@]} " " ${RNS_NODE :- node} " " ${RNS_INDEX_JS :- dist/ index.js } "
122+ exec env " ${variables[@]} " " ${NODE :- node} " " ${RNS_BUNDLE_MJS :- dist/ bundle.mjs } "
You can’t perform that action at this time.
0 commit comments