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
31
31
node_binary=" $( rlocation " ${node_binary_location} " ) " || \
32
32
(echo >&2 " Failed to locate ${node_binary_location} " && exit 1)
33
33
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)
37
37
38
38
# MARK - Setup
39
39
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 "
42
42
43
43
cat > shell.nix << -EOF
44
44
{
Original file line number Diff line number Diff line change @@ -119,4 +119,4 @@ for ((i=0; i < ${#INPUTS[@]}; i+=2)); do
119
119
fi
120
120
done
121
121
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