Revert pistond.js to avoid merge conflicts
This commit is contained in:
parent
97fd8a16d4
commit
a9952072c1
|
@ -39,13 +39,9 @@ expressWs(app);
|
||||||
|
|
||||||
logger.info('Loading packages');
|
logger.info('Loading packages');
|
||||||
|
|
||||||
const runtimes_data = cp
|
const runtimes_data = cp.execSync(`nix eval --json ${config.flake_path}#pistonRuntimeSets.${config.runtime_set} --apply builtins.attrNames`).toString();
|
||||||
.execSync(
|
|
||||||
`nix eval --json ${config.flake_path}#pistonRuntimeSets.${config.runtime_set} --apply builtins.attrNames`
|
|
||||||
)
|
|
||||||
.toString();
|
|
||||||
const runtimes = JSON.parse(runtimes_data);
|
const runtimes = JSON.parse(runtimes_data);
|
||||||
|
|
||||||
runtimes.for_each(pkg => runtime.load_runtime(pkg));
|
runtimes.for_each(pkg => runtime.load_runtime(pkg));
|
||||||
|
|
||||||
logger.info('Starting API Server');
|
logger.info('Starting API Server');
|
||||||
|
|
Loading…
Reference in New Issue