mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 03:26:27 +02:00
add limit overrides to runtime definitions
This commit is contained in:
parent
8d6ecfaf37
commit
ddab59ccdd
3 changed files with 20 additions and 26 deletions
|
@ -21,6 +21,7 @@
|
|||
compile? null,
|
||||
packages? null,
|
||||
aliases? [],
|
||||
limitOverrides? {},
|
||||
tests
|
||||
}: let
|
||||
compileFile = if compile != null then
|
||||
|
@ -28,7 +29,7 @@
|
|||
else null;
|
||||
runFile = pkgs.writeShellScript "run" run;
|
||||
metadata = {
|
||||
inherit language version runtime aliases;
|
||||
inherit language version runtime aliases limitOverrides;
|
||||
run = runFile;
|
||||
compile = compileFile;
|
||||
packageSupport = packages != null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue