Revert pistond.js to avoid merge conflicts

This commit is contained in:
Omar Brikaa 2022-02-12 20:13:42 +02:00
parent 97fd8a16d4
commit a9952072c1
1 changed files with 2 additions and 6 deletions

View File

@ -39,11 +39,7 @@ expressWs(app);
logger.info('Loading packages');
const runtimes_data = cp
.execSync(
`nix eval --json ${config.flake_path}#pistonRuntimeSets.${config.runtime_set} --apply builtins.attrNames`
)
.toString();
const runtimes_data = cp.execSync(`nix eval --json ${config.flake_path}#pistonRuntimeSets.${config.runtime_set} --apply builtins.attrNames`).toString();
const runtimes = JSON.parse(runtimes_data);
runtimes.for_each(pkg => runtime.load_runtime(pkg));